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.file |
File based repository storage.
|
org.eclipse.jgit.internal.storage.pack |
Reading/writing Git pack files.
|
org.eclipse.jgit.internal.storage.reftree | |
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.transport |
Transport (fetch/push) for different protocols.
|
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.
|
void |
DiffFormatter.setReader(ObjectReader reader,
Config cfg)
Set the repository the formatter can load object contents from.
|
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)
Deprecated.
|
static void |
DirCacheCheckout.checkoutEntry(Repository repo,
DirCacheEntry entry,
ObjectReader or,
boolean deleteRecursive,
DirCacheCheckout.CheckoutMetadata checkoutMetadata)
Updates the file in the working tree with content and mode from an entry
in the index.
|
AbstractTreeIterator |
DirCacheIterator.createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.
|
AbstractTreeIterator |
DirCacheBuildIterator.createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.
|
AttributesNode |
DirCacheIterator.getEntryAttributesNode(ObjectReader reader)
Retrieves the
AttributesNode for the
current entry. |
static DirCache |
DirCache.read(ObjectReader reader,
AnyObjectId treeId)
Create a new in memory index read from the contents of a tree.
|
Modifier and Type | Class and Description |
---|---|
class |
DfsReader
Reader to access repository content through.
|
Modifier and Type | Method and Description |
---|---|
ObjectReader |
DfsReader.newReader()
Construct a new reader from the same data.
|
ObjectReader |
DfsInserter.newReader()
Open a reader for objects that may have been written by this inserter.
|
Modifier and Type | Method and Description |
---|---|
ObjectReader |
PackInserter.newReader()
Open a reader for objects that may have been written by this inserter.
|
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(PackConfig config,
ObjectReader reader,
PackStatistics.Accumulator statsAccumulator)
Create writer with a specified configuration.
|
PackWriter(Repository repo,
ObjectReader reader)
Create writer for specified repository.
|
Modifier and Type | Method and Description |
---|---|
Ref |
RefTree.exactRef(ObjectReader reader,
String name)
Read one reference.
|
static RefTree |
RefTree.read(ObjectReader reader,
RevTree tree)
Load a reference tree.
|
Modifier and Type | Class and Description |
---|---|
static class |
ObjectReader.Filter
Wraps a delegate ObjectReader.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ObjectReader |
ObjectReader.Filter.delegate() |
ObjectReader |
Repository.newObjectReader()
Create a new reader to read objects from
Repository.getObjectDatabase() . |
abstract ObjectReader |
ObjectReader.newReader()
Construct a new reader from the same data.
|
ObjectReader |
ObjectReader.Filter.newReader() |
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)
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 and Description |
---|---|
ObjectReader |
RevWalk.getObjectReader()
Get the reader this walker is using to load objects.
|
Constructor and Description |
---|
ObjectWalk(ObjectReader or)
Create a new revision and object walker for a given repository.
|
ObjectWalk(ObjectReader or,
int depth) |
RevWalk(ObjectReader or)
Create a new revision walker for a given repository.
|
RevWalk(ObjectReader or,
int depth) |
Constructor and Description |
---|
BundleWriter(ObjectReader or)
Create a writer for a bundle.
|
Modifier and Type | Method and Description |
---|---|
ObjectReader |
TreeWalk.getObjectReader()
Get the reader this walker is using to load objects.
|
Modifier and Type | Method and Description |
---|---|
AbstractTreeIterator |
FileTreeIterator.createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.
|
AbstractTreeIterator |
EmptyTreeIterator.createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.
|
CanonicalTreeParser |
CanonicalTreeParser.createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.
|
abstract AbstractTreeIterator |
AbstractTreeIterator.createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.
|
CanonicalTreeParser |
CanonicalTreeParser.createSubtreeIterator(ObjectReader reader,
MutableObjectId idBuffer)
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.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.
|
static TreeWalk |
TreeWalk.forPath(Repository repo,
ObjectReader reader,
String path,
AnyObjectId... trees)
Open a tree walk and filter to exactly one path.
|
AttributesNode |
CanonicalTreeParser.getEntryAttributesNode(ObjectReader reader)
Retrieve the
AttributesNode for the
current entry. |
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.
|
NameConflictTreeWalk(Repository repo,
ObjectReader or)
Create a new tree walker for a given repository.
|
TreeWalk(ObjectReader or)
Create a new tree walker for a given repository.
|
TreeWalk(Repository repo,
ObjectReader or)
Create a new tree walker for a given repository.
|
Copyright © 2019 Eclipse JGit Project. All rights reserved.