Package | Description |
---|---|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
org.eclipse.jgit.internal.storage.pack |
Reading/writing Git pack files.
|
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.notes |
Git notes processing (for commits, etc).
|
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
Modifier and Type | Method | Description |
---|---|---|
List<DiffEntry> |
RenameDetector.compute(ObjectReader reader,
ProgressMonitor pm) |
Detect renames in the current file set.
|
static ContentSource |
ContentSource.create(ObjectReader reader) |
Construct a content source for an ObjectReader.
|
Constructor | Description |
---|---|
RenameDetector(ObjectReader reader,
DiffConfig cfg) |
Create a new rename detector with a specified reader and diff config.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DirCacheBuilder.addTree(byte[] pathPrefix,
int stage,
ObjectReader reader,
AnyObjectId tree) |
Recursively add an entire tree into this builder.
|
static void |
DirCacheCheckout.checkoutEntry(Repository repo,
File f,
DirCacheEntry entry,
ObjectReader or) |
Deprecated.
Do not pass File object.
|
static void |
DirCacheCheckout.checkoutEntry(Repository repo,
DirCacheEntry entry,
ObjectReader or) |
Updates the file in the working tree with content and mode from an entry
in the index.
|
AbstractTreeIterator |
DirCacheBuildIterator.createSubtreeIterator(ObjectReader reader) |
|
AbstractTreeIterator |
DirCacheIterator.createSubtreeIterator(ObjectReader reader) |
|
AttributesNode |
DirCacheIterator.getEntryAttributesNode(ObjectReader reader) |
Retrieves the
AttributesNode for the current entry. |
Modifier and Type | Class | Description |
---|---|---|
class |
DfsReader |
Reader to access repository content through.
|
Modifier and Type | Method | Description |
---|---|---|
ObjectReader |
DfsInserter.newReader() |
|
ObjectReader |
DfsObjDatabase.newReader() |
|
ObjectReader |
DfsReader.newReader() |
Constructor | Description |
---|---|
PackWriter(ObjectReader reader) |
Create a writer to load objects from the specified reader.
|
PackWriter(Repository repo,
ObjectReader reader) |
Create writer for specified repository.
|
PackWriter(PackConfig config,
ObjectReader reader) |
Create writer with a specified configuration.
|
Modifier and Type | Method | Description |
---|---|---|
ObjectReader |
Repository.newObjectReader() |
|
abstract ObjectReader |
ObjectDatabase.newReader() |
Create a new
ObjectReader to read existing objects. |
ObjectReader |
ObjectInserter.Filter.newReader() |
|
ObjectReader |
ObjectInserter.Formatter.newReader() |
|
abstract ObjectReader |
ObjectInserter.newReader() |
Open a reader for objects that may have been written by this inserter.
|
abstract ObjectReader |
ObjectReader.newReader() |
Construct a new reader from the same data.
|
Modifier and Type | Field | Description |
---|---|---|
protected ObjectReader |
Merger.reader |
Reader to support
Merger.walk and other object loading. |
Modifier and Type | Method | Description |
---|---|---|
Note |
DefaultNoteMerger.merge(Note base,
Note ours,
Note theirs,
ObjectReader reader,
ObjectInserter inserter) |
|
Note |
NoteMerger.merge(Note base,
Note ours,
Note their,
ObjectReader reader,
ObjectInserter inserter) |
Merges the conflicting note changes.
|
static NoteMap |
NoteMap.read(ObjectReader reader,
RevCommit commit) |
Load a collection of notes from a branch.
|
static NoteMap |
NoteMap.read(ObjectReader reader,
RevTree tree) |
Load a collection of notes from a tree.
|
static NoteMap |
NoteMap.readTree(ObjectReader reader,
ObjectId treeId) |
Load a collection of notes from a tree.
|
Modifier and Type | Method | Description |
---|---|---|
ObjectReader |
RevWalk.getObjectReader() |
Constructor | Description |
---|---|
ObjectWalk(ObjectReader or,
int depth) |
|
ObjectWalk(ObjectReader or) |
Create a new revision and object walker for a given repository.
|
RevWalk(ObjectReader or,
int depth) |
|
RevWalk(ObjectReader or) |
Create a new revision walker for a given repository.
|
Modifier and Type | Method | Description |
---|---|---|
ObjectReader |
TreeWalk.getObjectReader() |
Modifier and Type | Method | Description |
---|---|---|
abstract AbstractTreeIterator |
AbstractTreeIterator.createSubtreeIterator(ObjectReader reader) |
Create a new iterator for the current entry's subtree.
|
AbstractTreeIterator |
AbstractTreeIterator.createSubtreeIterator(ObjectReader reader,
MutableObjectId idBuffer) |
Create a new iterator for the current entry's subtree.
|
CanonicalTreeParser |
CanonicalTreeParser.createSubtreeIterator(ObjectReader reader) |
|
CanonicalTreeParser |
CanonicalTreeParser.createSubtreeIterator(ObjectReader reader,
MutableObjectId idBuffer) |
|
AbstractTreeIterator |
EmptyTreeIterator.createSubtreeIterator(ObjectReader reader) |
|
AbstractTreeIterator |
FileTreeIterator.createSubtreeIterator(ObjectReader reader) |
|
CanonicalTreeParser |
CanonicalTreeParser.createSubtreeIterator0(ObjectReader reader,
AnyObjectId id) |
Back door to quickly create a subtree iterator for any subtree.
|
static TreeWalk |
TreeWalk.forPath(ObjectReader reader,
String path,
AnyObjectId... trees) |
Open a tree walk and filter to exactly one path.
|
boolean |
WorkingTreeIterator.isModified(DirCacheEntry entry,
boolean forceContentCheck,
ObjectReader reader) |
Checks whether this entry differs from a given entry from the
DirCache . |
void |
CanonicalTreeParser.reset(ObjectReader reader,
AnyObjectId id) |
Reset this parser to walk through the given tree.
|
CanonicalTreeParser |
CanonicalTreeParser.resetRoot(ObjectReader reader,
AnyObjectId id) |
Reset this parser to walk through the given tree.
|
Constructor | Description |
---|---|
CanonicalTreeParser(byte[] prefix,
ObjectReader reader,
AnyObjectId treeId) |
Create a new parser for a tree appearing in a subset of a repository.
|
NameConflictTreeWalk(ObjectReader or) |
Create a new tree walker for a given repository.
|
TreeWalk(ObjectReader or) |
Create a new tree walker for a given repository.
|
Copyright © 2018. All rights reserved.