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 ContentSourceContentSource.create(ObjectReader reader) Construct a content source for an ObjectReader.voidDiffFormatter.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 TypeMethodDescriptionvoidDirCacheBuilder.addTree(byte[] pathPrefix, int stage, ObjectReader reader, AnyObjectId tree) Recursively add an entire tree into this builder.voidCheckout.checkout(DirCacheEntry entry, DirCacheCheckout.CheckoutMetadata metadata, ObjectReader reader, String gitPath) Checks out the file given by theDirCacheEntry.static voidDirCacheCheckout.checkoutEntry(Repository repo, DirCacheEntry entry, ObjectReader or) Deprecated.static voidDirCacheCheckout.checkoutEntry(Repository repo, DirCacheEntry entry, ObjectReader or, boolean deleteRecursive, DirCacheCheckout.CheckoutMetadata checkoutMetadata) Deprecated.static voidDirCacheCheckout.checkoutEntry(Repository repo, DirCacheEntry entry, ObjectReader or, boolean deleteRecursive, DirCacheCheckout.CheckoutMetadata checkoutMetadata, WorkingTreeOptions options) Deprecated.since 6.6.1; useCheckoutinsteadDirCacheBuildIterator.createSubtreeIterator(ObjectReader reader) DirCacheIterator.createSubtreeIterator(ObjectReader reader) DirCacheIterator.getEntryAttributesNode(ObjectReader reader) Retrieves theAttributesNodefor the current entry.static DirCacheDirCache.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 ObjectReaderObjectReader.Filter.delegate()Get delegate ObjectReader to handle all processingRepository.newObjectReader()Create a new reader to read objects fromRepository.getObjectDatabase().abstract ObjectReaderObjectDatabase.newReader()Create a newObjectReaderto read existing objects.ObjectInserter.Filter.newReader()ObjectInserter.Formatter.newReader()abstract ObjectReaderObjectInserter.newReader()Open a reader for objects that may have been written by this inserter.ObjectReader.Filter.newReader()abstract ObjectReaderObjectReader.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 ObjectReaderMerger.readerReader to supportMerger.walkand 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 NoteMapNoteMap.read(ObjectReader reader, RevCommit commit) Load a collection of notes from a branch.static NoteMapNoteMap.read(ObjectReader reader, RevTree tree) Load a collection of notes from a tree.static NoteMapNoteMap.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 AbstractTreeIteratorAbstractTreeIterator.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 CanonicalTreeParserCanonicalTreeParser.createSubtreeIterator0(ObjectReader reader, AnyObjectId id) Back door to quickly create a subtree iterator for any subtree.static TreeWalkTreeWalk.forPath(ObjectReader reader, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.static TreeWalkTreeWalk.forPath(Repository repo, ObjectReader reader, String path, AnyObjectId... trees) Open a tree walk and filter to exactly one path.CanonicalTreeParser.getEntryAttributesNode(ObjectReader reader) Retrieve theAttributesNodefor the current entry.booleanWorkingTreeIterator.isModified(DirCacheEntry entry, boolean forceContentCheck, ObjectReader reader) Checks whether this entry differs from a given entry from theDirCache.voidCanonicalTreeParser.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