Class FileTreeEntry

    • Constructor Detail

      • FileTreeEntry

        public FileTreeEntry​(Tree parent,
                             ObjectId id,
                             byte[] nameUTF8,
                             boolean execute)
        Deprecated.
        Constructor for a File (blob) object.
        Parameters:
        parent - The Tree holding this object (or null)
        id - the SHA-1 of the blob (or null for a yet unhashed file)
        nameUTF8 - raw object name in the parent tree
        execute - true if the executable flag is set
    • Method Detail

      • getMode

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

        public boolean isExecutable()
        Deprecated.
        Returns:
        true if this file is executable
      • setExecutable

        public void setExecutable​(boolean execute)
        Deprecated.
        Parameters:
        execute - set/reset the executable flag