Class SymlinkTreeEntry

  • All Implemented Interfaces:
    java.lang.Comparable

    @Deprecated
    public class SymlinkTreeEntry
    extends TreeEntry
    Deprecated.
    To look up information about a single path, use TreeWalk.forPath(Repository, String, org.eclipse.jgit.revwalk.RevTree). To lookup information about multiple paths at once, use a TreeWalk and obtain the current entry's information from its getter methods.
    A tree entry representing a symbolic link. Note. Java cannot really handle these as file system objects.
    • Constructor Detail

      • SymlinkTreeEntry

        public SymlinkTreeEntry​(Tree parent,
                                ObjectId id,
                                byte[] nameUTF8)
        Deprecated.
        Construct a SymlinkTreeEntry with the specified name and SHA-1 in the specified parent
        Parameters:
        parent -
        id -
        nameUTF8 -
    • Method Detail

      • getMode

        public FileMode getMode()
        Deprecated.
        Specified by:
        getMode in class TreeEntry
        Returns:
        mode (type of object)
      • toString

        public java.lang.String toString()
        Deprecated.
        Overrides:
        toString in class java.lang.Object