Package | Description |
---|---|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Field and Description |
---|---|
private FS.Attributes |
FileTreeIterator.FileEntry.attributes |
Modifier and Type | Method and Description |
---|---|
FileMode |
FileTreeIterator.FileModeStrategy.getMode(java.io.File f,
FS.Attributes attributes)
Compute the FileMode for a given File, based on its attributes.
|
FileMode |
FileTreeIterator.DefaultFileModeStrategy.getMode(java.io.File f,
FS.Attributes attributes) |
FileMode |
FileTreeIterator.NoGitlinksStrategy.getMode(java.io.File f,
FS.Attributes attributes) |
Constructor and Description |
---|
FileEntry(java.io.File f,
FS fs,
FS.Attributes attributes,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Create a new file entry given the specified FileModeStrategy
|
Modifier and Type | Method and Description |
---|---|
FS.Attributes |
FS.getAttributes(java.io.File path)
Get the file attributes we care for.
|
FS.Attributes |
FS_POSIX.getAttributes(java.io.File path)
Get the file attributes we care for.
|
FS.Attributes |
FS_Win32.getAttributes(java.io.File path)
Get the file attributes we care for.
|
(package private) static FS.Attributes |
FileUtils.getFileAttributesBasic(FS fs,
java.io.File file) |
static FS.Attributes |
FileUtils.getFileAttributesPosix(FS fs,
java.io.File file)
Get file system attributes for the given file.
|