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 | Class and Description |
---|---|
static class |
FileTreeIterator.DefaultFileModeStrategy
A default implementation of a FileModeStrategy; defaults to treating
nested .git directories as gitlinks, etc.
|
static class |
FileTreeIterator.NoGitlinksStrategy
A FileModeStrategy that implements native git's DIR_NO_GITLINKS
behavior.
|
Modifier and Type | Field and Description |
---|---|
protected FileTreeIterator.FileModeStrategy |
FileTreeIterator.fileModeStrategy
the strategy used to compute the FileMode for a FileEntry.
|
Constructor and Description |
---|
FileEntry(File f,
FS fs,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Create a new file entry given the specified FileModeStrategy
|
FileEntry(File f,
FS fs,
FS.Attributes attributes,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Create a new file entry given the specified FileModeStrategy
|
FileTreeIterator(File root,
FS fs,
WorkingTreeOptions options,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Create a new iterator to traverse the given directory and its children.
|
FileTreeIterator(Repository repo,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Create a new iterator to traverse the work tree and its children.
|
FileTreeIterator(WorkingTreeIterator p,
File root,
FS fs,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Create a new iterator to traverse a subdirectory, given the specified
FileModeStrategy.
|
Modifier and Type | Method and Description |
---|---|
WorkingTreeIterator.Entry[] |
FS_Win32.list(File directory,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Enumerates children of a directory.
|
WorkingTreeIterator.Entry[] |
FS.list(File directory,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Enumerates children of a directory.
|
Copyright © 2021 Eclipse JGit Project. All rights reserved.