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.FileEntry
Wrapper for a standard Java IO file
|
Modifier and Type | Field and Description |
---|---|
private WorkingTreeIterator.Entry[] |
WorkingTreeIterator.entries
List of entries obtained from the subclass.
|
(package private) WorkingTreeIterator.Entry |
WorkingTreeIterator.PerDirectoryIgnoreNode.entry |
(package private) WorkingTreeIterator.Entry |
WorkingTreeIterator.PerDirectoryAttributesNode.entry |
protected static WorkingTreeIterator.Entry[] |
WorkingTreeIterator.EOF
An empty entry array, suitable for
WorkingTreeIterator.init(Entry[]) . |
Modifier and Type | Field and Description |
---|---|
private static java.util.Comparator<WorkingTreeIterator.Entry> |
WorkingTreeIterator.ENTRY_CMP |
Modifier and Type | Method and Description |
---|---|
protected WorkingTreeIterator.Entry |
WorkingTreeIterator.current()
Obtain the current entry from this iterator.
|
private WorkingTreeIterator.Entry[] |
FileTreeIterator.entries() |
Modifier and Type | Method and Description |
---|---|
private byte[] |
WorkingTreeIterator.idBufferBlob(WorkingTreeIterator.Entry e) |
protected byte[] |
WorkingTreeIterator.idSubmodule(java.io.File directory,
WorkingTreeIterator.Entry e)
Get submodule id using the repository at the location of the entry
relative to the directory.
|
protected byte[] |
WorkingTreeIterator.idSubmodule(WorkingTreeIterator.Entry e)
Get submodule id for given entry.
|
protected byte[] |
FileTreeIterator.idSubmodule(WorkingTreeIterator.Entry e)
Get submodule id for given entry.
|
protected void |
WorkingTreeIterator.init(WorkingTreeIterator.Entry[] list)
Constructor helper.
|
private static boolean |
WorkingTreeIterator.isBinary(WorkingTreeIterator.Entry entry) |
private java.io.InputStream |
WorkingTreeIterator.possiblyFilteredInputStream(WorkingTreeIterator.Entry e,
java.io.InputStream is,
long len) |
private java.io.InputStream |
WorkingTreeIterator.possiblyFilteredInputStream(WorkingTreeIterator.Entry e,
java.io.InputStream is,
long len,
TreeWalk.OperationType opType) |
protected java.lang.String |
WorkingTreeIterator.readSymlinkTarget(WorkingTreeIterator.Entry entry)
Reads the target of a symlink as a string.
|
protected java.lang.String |
FileTreeIterator.readSymlinkTarget(WorkingTreeIterator.Entry entry)
Reads the target of a symlink as a string.
|
Constructor and Description |
---|
PerDirectoryAttributesNode(WorkingTreeIterator.Entry entry) |
PerDirectoryIgnoreNode(WorkingTreeIterator.Entry entry) |
RootIgnoreNode(WorkingTreeIterator.Entry entry,
Repository repository) |
Modifier and Type | Field and Description |
---|---|
protected static WorkingTreeIterator.Entry[] |
FS.NO_ENTRIES
An empty array of entries, suitable as a return value for
#list(File, FileModeStrategy) . |
Modifier and Type | Method and Description |
---|---|
WorkingTreeIterator.Entry[] |
FS.list(java.io.File directory,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Enumerates children of a directory.
|
WorkingTreeIterator.Entry[] |
FS_Win32.list(java.io.File directory,
FileTreeIterator.FileModeStrategy fileModeStrategy)
Enumerates children of a directory.
|