dulwich.submodule module

Working with Git submodules.

dulwich.submodule.iter_cached_submodules(store, root_tree_id: bytes) Iterator[Tuple[str, bytes]]

iterate over cached submodules.

Parameters
  • store – Object store to iterate

  • root_tree_id – SHA of root tree

Returns

Iterator over over (path, sha) tuples