예제 #1
0
파일: base.py 프로젝트: zofuthan/GitPython
 def submodule_update(self, *args, **kwargs):
     """Update the submodules, keeping the repository consistent as it will
     take the previous state into consideration. For more information, please
     see the documentation of RootModule.update"""
     return RootModule(self).update(*args, **kwargs)
예제 #2
0
파일: base.py 프로젝트: zofuthan/GitPython
 def iter_submodules(self, *args, **kwargs):
     """An iterator yielding Submodule instances, see Traversable interface
     for a description of args and kwargs
     :return: Iterator"""
     return RootModule(self).traverse(*args, **kwargs)