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 and 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 and Description |
---|
RenameDetector(ObjectReader reader,
DiffConfig cfg)
Create a new rename detector with a specified reader and diff config.
|
Modifier and Type | Method and 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,
DirCacheEntry entry,
ObjectReader or)
Updates the file in the working tree with content and mode from an entry
in the index.
|
AbstractTreeIterator |
DirCacheIterator.createSubtreeIterator(ObjectReader reader) |
AbstractTreeIterator |
DirCacheBuildIterator.createSubtreeIterator(ObjectReader reader) |
AttributesNode |
DirCacheIterator.getEntryAttributesNode(ObjectReader reader)
Retrieves the
AttributesNode for the current entry. |
Modifier and Type | Class and Description |
---|---|
class |
DfsReader
Reader to access repository content through.
|
Modifier and Type | Method and Description |
---|---|
ObjectReader |
DfsReader.newReader() |
ObjectReader |
DfsObjDatabase.newReader() |
ObjectReader |
DfsInserter.newReader() |
Constructor and Description |
---|
PackWriter(ObjectReader reader)
Create a writer to load objects from the specified reader.
|
PackWriter(PackConfig config,
ObjectReader reader)
Create writer with a specified configuration.
|
PackWriter(Repository repo,
ObjectReader reader)
Create writer for specified repository.
|
Modifier and Type | Method and Description |
---|---|
ObjectReader |
Repository.newObjectReader() |
abstract ObjectReader |
ObjectReader.newReader()
Construct a new reader from the same data.
|
abstract ObjectReader |
ObjectInserter.newReader()
Open a reader for objects that may have been written by this inserter.
|
ObjectReader |
ObjectInserter.Formatter.newReader() |
ObjectReader |
ObjectInserter.Filter.newReader() |
abstract ObjectReader |
ObjectDatabase.newReader()
Create a new
ObjectReader to read existing objects. |
Modifier and Type | Field and Description |
---|---|
protected ObjectReader |
Merger.reader
Reader to support
Merger.walk and other object loading. |
Modifier and Type | Method and Description |
---|---|
Note |
NoteMerger.merge(Note base,
Note ours,
Note their,
ObjectReader reader,
ObjectInserter inserter)
Merges the conflicting note changes.
|
Note |
DefaultNoteMerger.merge(Note base,
Note ours,
Note theirs,
ObjectReader reader,
ObjectInserter inserter) |
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 and Description |
---|---|
ObjectReader |
RevWalk.getObjectReader() |
Constructor and Description |
---|
DepthWalk.ObjectWalk(ObjectReader or,
int depth) |
DepthWalk.RevWalk(ObjectReader or,
int depth) |
ObjectWalk(ObjectReader or)
Create a new revision and object walker for a given repository.
|
RevWalk(ObjectReader or)
Create a new revision walker for a given repository.
|
Modifier and Type | Method and Description |
---|---|
ObjectReader |
TreeWalk.getObjectReader() |
Modifier and Type | Method and Description |
---|---|
AbstractTreeIterator |
FileTreeIterator.createSubtreeIterator(ObjectReader reader) |
AbstractTreeIterator |
EmptyTreeIterator.createSubtreeIterator(ObjectReader reader) |
CanonicalTreeParser |
CanonicalTreeParser.createSubtreeIterator(ObjectReader reader) |
abstract AbstractTreeIterator |
AbstractTreeIterator.createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.
|
CanonicalTreeParser |
CanonicalTreeParser.createSubtreeIterator(ObjectReader reader,
MutableObjectId idBuffer) |
AbstractTreeIterator |
AbstractTreeIterator.createSubtreeIterator(ObjectReader reader,
MutableObjectId idBuffer)
Create a new iterator for the current entry's subtree.
|
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 and 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 © 2015 Eclipse JGit Project. All rights reserved.