Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.archive | |
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.junit | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.patch |
Patch file parser and data structure.
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
Modifier and Type | Method and Description |
---|---|
void |
ArchiveCommand.Format.putEntry(T out,
String path,
FileMode mode,
ObjectLoader loader)
Write an entry to an archive.
|
Modifier and Type | Method and Description |
---|---|
void |
ZipFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out,
String path,
FileMode mode,
ObjectLoader loader) |
void |
TxzFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out,
String path,
FileMode mode,
ObjectLoader loader) |
void |
TgzFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out,
String path,
FileMode mode,
ObjectLoader loader) |
void |
Tbz2Format.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out,
String path,
FileMode mode,
ObjectLoader loader) |
void |
TarFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out,
String path,
FileMode mode,
ObjectLoader loader) |
Modifier and Type | Field and Description |
---|---|
protected FileMode |
DiffEntry.newMode
New mode of the file, if described by the patch, else null.
|
protected FileMode |
DiffEntry.oldMode
Old mode of the file, if described by the patch, else null.
|
Modifier and Type | Method and Description |
---|---|
FileMode |
DiffEntry.getMode(DiffEntry.Side side)
Get the mode associated with this file.
|
FileMode |
DiffEntry.getNewMode() |
FileMode |
DiffEntry.getOldMode() |
Modifier and Type | Method and Description |
---|---|
FileMode |
DirCacheEntry.getFileMode()
Obtain the
FileMode for this entry. |
Modifier and Type | Method and Description |
---|---|
void |
DirCacheEntry.setFileMode(FileMode mode)
Set the file mode for this entry.
|
Modifier and Type | Method and Description |
---|---|
protected DirCacheEntry |
RepositoryTestCase.createEntry(String path,
FileMode mode) |
protected DirCacheEntry |
RepositoryTestCase.createEntry(String path,
FileMode mode,
int stage,
String content) |
protected DirCacheEntry |
RepositoryTestCase.createEntry(String path,
FileMode mode,
String content) |
Modifier and Type | Field and Description |
---|---|
static FileMode |
FileMode.EXECUTABLE_FILE
Mode indicating an entry is an executable file.
|
static FileMode |
FileMode.GITLINK
Mode indicating an entry is a submodule commit in another repository.
|
static FileMode |
FileMode.MISSING
Mode indicating an entry is missing during parallel walks.
|
static FileMode |
FileMode.REGULAR_FILE
Mode indicating an entry is a non-executable file.
|
static FileMode |
FileMode.SYMLINK
Mode indicating an entry is a symbolic link.
|
static FileMode |
FileMode.TREE
Mode indicating an entry is a tree (aka directory).
|
Modifier and Type | Method and Description |
---|---|
static FileMode |
FileMode.fromBits(int bits)
Convert a set of mode bits into a FileMode enumerated value.
|
FileMode |
IndexDiff.getIndexMode(String path)
Get the file mode of the given path in the index
|
abstract FileMode |
TreeEntry.getMode()
Deprecated.
|
FileMode |
Tree.getMode()
Deprecated.
|
FileMode |
SymlinkTreeEntry.getMode()
Deprecated.
|
FileMode |
GitlinkTreeEntry.getMode()
Deprecated.
|
FileMode |
FileTreeEntry.getMode()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
TreeFormatter.append(byte[] name,
FileMode mode,
AnyObjectId id)
Append any entry to the tree.
|
void |
TreeFormatter.append(byte[] nameBuf,
int namePos,
int nameLen,
FileMode mode,
AnyObjectId id)
Append any entry to the tree.
|
void |
TreeFormatter.append(byte[] nameBuf,
int namePos,
int nameLen,
FileMode mode,
byte[] idBuf,
int idPos)
Append any entry to the tree.
|
void |
TreeFormatter.append(String name,
FileMode mode,
AnyObjectId id)
Append any entry to the tree.
|
static int |
TreeFormatter.entrySize(FileMode mode,
int nameLen)
Compute the size of a tree entry record.
|
Set<String> |
IndexDiff.getPathsWithIndexMode(FileMode mode)
Get the list of paths that IndexDiff has detected to differ and have the
given file mode
|
Modifier and Type | Method and Description |
---|---|
FileMode |
CombinedFileHeader.getOldMode() |
FileMode |
CombinedFileHeader.getOldMode(int nthParent)
Get the file mode of the nth ancestor
|
Modifier and Type | Method and Description |
---|---|
FileMode |
AbstractTreeIterator.getEntryFileMode() |
FileMode |
TreeWalk.getFileMode(int nth)
Obtain the
FileMode for the current entry. |
FileMode |
WorkingTreeIterator.getIndexFileMode(DirCacheIterator indexIter)
Get the file mode to use for the current entry when it is to be updated
in the index.
|
abstract FileMode |
WorkingTreeIterator.Entry.getMode()
Get the type of this entry.
|
FileMode |
FileTreeIterator.FileEntry.getMode() |
Copyright © 2015 Eclipse JGit Project. All rights reserved.