Example usage for Java org.eclipse.jgit.submodule SubmoduleWalk fields, constructors, methods, implement or subclass
The text is from its open source code.
SubmoduleWalk(Repository repository) Create submodule generator |
void | close() Release any resources used by this walker's reader. |
boolean | containsGitModulesFile(Repository repository) Checks whether the working tree contains a .gitmodules file. |
SubmoduleWalk | forIndex(Repository repository) Create a generator to walk over the submodule entries currently in the index The .gitmodules file is read from the index. |
SubmoduleWalk | forPath(Repository repository, AnyObjectId treeId, String path) Create a generator and advance it to the submodule entry at the given path |
SubmoduleWalk | forPath(Repository repository, AbstractTreeIterator iterator, String path) Create a generator and advance it to the submodule entry at the given path |
String | getConfigUrl() Get the configured remote URL for current entry. |
ObjectId | getObjectId() Get object id of current submodule entry |
String | getPath() Get path of current submodule entry |
String | getRemoteUrl() Get the resolved remote URL for the current submodule. |
Repository | getRepository() Get repository for current submodule entry |
Repository | getSubmoduleRepository(final Repository parent, final String path) Get submodule repository |
Repository | getSubmoduleRepository(final File parent, final String path) Get submodule repository at path |
boolean | next() Advance to next submodule in the index tree. |
SubmoduleWalk | setModulesConfig(Config config) Set the config used by this walk. |
SubmoduleWalk | setTree(AbstractTreeIterator iterator) Set the tree iterator used for finding submodule entries |
SubmoduleWalk | setTree(AnyObjectId treeId) Set the tree used for finding submodule entries |