java.lang.Object
org.eclipse.jgit.lib.GitmoduleEntry
A .gitmodules file found in the pack. Store the blob of the file itself (e.g.
to access its contents) and the tree where it was found (e.g. to check if it
is in the root)
- Since:
- 4.7.5
-
Constructor Summary
ConstructorsConstructorDescriptionGitmoduleEntry
(AnyObjectId treeId, AnyObjectId blobId) A record of (tree, blob) for a .gitmodule file in a pack -
Method Summary
Modifier and TypeMethodDescriptionGet Id of a .gitmodules file found in the packGet Id of a tree object where the .gitmodules file was found
-
Constructor Details
-
GitmoduleEntry
A record of (tree, blob) for a .gitmodule file in a pack- Parameters:
treeId
- tree id containing a .gitmodules entryblobId
- id of the blob of the .gitmodules file
-
-
Method Details
-
getBlobId
Get Id of a .gitmodules file found in the pack- Returns:
- Id of a .gitmodules file found in the pack
-
getTreeId
Get Id of a tree object where the .gitmodules file was found- Returns:
- Id of a tree object where the .gitmodules file was found
-