Uses of Class
org.eclipse.jgit.lib.ObjectReader
Packages that use ObjectReader
Package
Description
Comparing file contents by computing diffs.
Reading and editing the directory cache (index).
Distributed file system based repository storage.
File based repository storage.
Reading/writing Git pack files.
Core API for repository, config, refs, object database.
Content and commit history merge algorithms.
Git notes processing (for commits, etc).
Walking revision graphs (commit history).
Transport (fetch/push) for different protocols.
Walking and comparing directory/file trees (of commits, file system).
-
Uses of ObjectReader in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff with parameters of type ObjectReaderModifier and TypeMethodDescriptionRenameDetector.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.Constructors in org.eclipse.jgit.diff with parameters of type ObjectReaderModifierConstructorDescriptionRenameDetector
(ObjectReader reader, DiffConfig cfg) Create a new rename detector with a specified reader and diff config. -
Uses of ObjectReader in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache with parameters of type ObjectReaderModifier and TypeMethodDescriptionvoid
DirCacheBuilder.addTree
(byte[] pathPrefix, int stage, ObjectReader reader, AnyObjectId tree) Recursively add an entire tree into this builder.void
Checkout.checkout
(DirCacheEntry entry, DirCacheCheckout.CheckoutMetadata metadata, ObjectReader reader, String gitPath) Checks out the file given by theDirCacheEntry
.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) Deprecated.static void
DirCacheCheckout.checkoutEntry
(Repository repo, DirCacheEntry entry, ObjectReader or, boolean deleteRecursive, DirCacheCheckout.CheckoutMetadata checkoutMetadata, WorkingTreeOptions options) Deprecated.since 6.6.1; useCheckout
insteadDirCacheBuildIterator.createSubtreeIterator
(ObjectReader reader) DirCacheIterator.createSubtreeIterator
(ObjectReader reader) DirCacheIterator.getEntryAttributesNode
(ObjectReader reader) Retrieves theAttributesNode
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. -
Uses of ObjectReader in org.eclipse.jgit.internal.storage.dfs
Subclasses of ObjectReader in org.eclipse.jgit.internal.storage.dfsMethods in org.eclipse.jgit.internal.storage.dfs that return ObjectReader -
Uses of ObjectReader in org.eclipse.jgit.internal.storage.file
Methods in org.eclipse.jgit.internal.storage.file that return ObjectReader -
Uses of ObjectReader in org.eclipse.jgit.internal.storage.pack
Constructors in org.eclipse.jgit.internal.storage.pack with parameters of type ObjectReaderModifierConstructorDescriptionPackWriter
(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.PackWriter
(PackConfig config, ObjectReader reader, PackStatistics.Accumulator statsAccumulator) Create writer with a specified configuration. -
Uses of ObjectReader in org.eclipse.jgit.lib
Subclasses of ObjectReader in org.eclipse.jgit.libMethods in org.eclipse.jgit.lib that return ObjectReaderModifier and TypeMethodDescriptionprotected abstract ObjectReader
ObjectReader.Filter.delegate()
Get delegate ObjectReader to handle all processingRepository.newObjectReader()
Create a new reader to read objects fromRepository.getObjectDatabase()
.abstract ObjectReader
ObjectDatabase.newReader()
Create a newObjectReader
to read existing objects.ObjectInserter.Filter.newReader()
ObjectInserter.Formatter.newReader()
abstract ObjectReader
ObjectInserter.newReader()
Open a reader for objects that may have been written by this inserter.ObjectReader.Filter.newReader()
abstract ObjectReader
ObjectReader.newReader()
Construct a new reader from the same data. -
Uses of ObjectReader in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as ObjectReaderModifier and TypeFieldDescriptionprotected ObjectReader
Merger.reader
Reader to supportMerger.walk
and other object loading. -
Uses of ObjectReader in org.eclipse.jgit.notes
Methods in org.eclipse.jgit.notes with parameters of type ObjectReaderModifier and TypeMethodDescriptionDefaultNoteMerger.merge
(Note base, Note ours, Note theirs, ObjectReader reader, ObjectInserter inserter) 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. -
Uses of ObjectReader in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk that return ObjectReaderModifier and TypeMethodDescriptionRevWalk.getObjectReader()
Get the reader this walker is using to load objects.Constructors in org.eclipse.jgit.revwalk with parameters of type ObjectReaderModifierConstructorDescriptionObjectWalk
(ObjectReader or, int depth) Create ObjectWalkCreate a new revision and object walker for a given repository.RevWalk
(ObjectReader or, int depth) Create RevWalkRevWalk
(ObjectReader or) Create a new revision walker for a given repository. -
Uses of ObjectReader in org.eclipse.jgit.transport
Constructors in org.eclipse.jgit.transport with parameters of type ObjectReader -
Uses of ObjectReader in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that return ObjectReaderModifier and TypeMethodDescriptionTreeWalk.getObjectReader()
Get the reader this walker is using to load objects.Methods in org.eclipse.jgit.treewalk with parameters of type ObjectReaderModifier and TypeMethodDescriptionabstract AbstractTreeIterator
AbstractTreeIterator.createSubtreeIterator
(ObjectReader reader) Create a new iterator for the current entry's subtree.AbstractTreeIterator.createSubtreeIterator
(ObjectReader reader, MutableObjectId idBuffer) Create a new iterator for the current entry's subtree.CanonicalTreeParser.createSubtreeIterator
(ObjectReader reader) CanonicalTreeParser.createSubtreeIterator
(ObjectReader reader, MutableObjectId idBuffer) EmptyTreeIterator.createSubtreeIterator
(ObjectReader reader) FileTreeIterator.createSubtreeIterator
(ObjectReader reader) final 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.CanonicalTreeParser.getEntryAttributesNode
(ObjectReader reader) Retrieve theAttributesNode
for the current entry.boolean
WorkingTreeIterator.isModified
(DirCacheEntry entry, boolean forceContentCheck, ObjectReader reader) Checks whether this entry differs from a given entry from theDirCache
.void
CanonicalTreeParser.reset
(ObjectReader reader, AnyObjectId id) Reset this parser to walk through the given tree.CanonicalTreeParser.resetRoot
(ObjectReader reader, AnyObjectId id) Reset this parser to walk through the given tree.Constructors in org.eclipse.jgit.treewalk with parameters of type ObjectReaderModifierConstructorDescriptionCanonicalTreeParser
(byte[] prefix, ObjectReader reader, AnyObjectId treeId) Create a new parser for a tree appearing in a subset of a repository.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.
DirCacheCheckout.checkoutEntry(Repository, DirCacheEntry, ObjectReader, boolean, CheckoutMetadata, WorkingTreeOptions)
instead