Interface FileTreeIterator.FileModeStrategy

    • Method Detail

      • getMode

        FileMode getMode​(File f,
                         FS.Attributes attributes)
        Compute the FileMode for a given File, based on its attributes.
        Parameters:
        f - the file to return a FileMode for
        attributes - the attributes of a file
        Returns:
        a FileMode indicating whether the file is a regular file, a directory, a gitlink, etc.