Package org.eclipse.jgit.lib
Class GitlinkTreeEntry
- java.lang.Object
-
- org.eclipse.jgit.lib.TreeEntry
-
- org.eclipse.jgit.lib.GitlinkTreeEntry
-
- All Implemented Interfaces:
java.lang.Comparable
@Deprecated public class GitlinkTreeEntry extends TreeEntry
Deprecated.To look up information about a single path, useTreeWalk.forPath(Repository, String, org.eclipse.jgit.revwalk.RevTree)
. To lookup information about multiple paths at once, use aTreeWalk
and obtain the current entry's information from its getter methods.A tree entry representing a gitlink entry used for submodules. Note. Java cannot really handle these as file system objects.
-
-
Constructor Summary
Constructors Constructor Description GitlinkTreeEntry(Tree parent, ObjectId id, byte[] nameUTF8)
Deprecated.Construct aGitlinkTreeEntry
with the specified name and SHA-1 in the specified parent
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FileMode
getMode()
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class org.eclipse.jgit.lib.TreeEntry
compareTo, delete, detachParent, getFullName, getFullNameUTF8, getId, getName, getNameUTF8, getParent, getRepository, isModified, lastChar, rename, rename, setId, setModified
-
-
-
-
Constructor Detail
-
GitlinkTreeEntry
public GitlinkTreeEntry(Tree parent, ObjectId id, byte[] nameUTF8)
Deprecated.Construct aGitlinkTreeEntry
with the specified name and SHA-1 in the specified parent- Parameters:
parent
-id
-nameUTF8
-
-
-