Uses of Class
org.eclipse.jgit.lib.ObjectReader
-
Packages that use ObjectReader 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). -
-
Uses of ObjectReader in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff with parameters of type ObjectReader 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.Constructors in org.eclipse.jgit.diff with parameters of type ObjectReader Constructor Description RenameDetector(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 ObjectReader 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 theAttributesNode
for the current entry. -
Uses of ObjectReader in org.eclipse.jgit.internal.storage.dfs
Subclasses of ObjectReader in org.eclipse.jgit.internal.storage.dfs Modifier and Type Class Description class
DfsReader
Reader to access repository content through.Methods in org.eclipse.jgit.internal.storage.dfs that return ObjectReader Modifier and Type Method Description ObjectReader
DfsInserter. newReader()
ObjectReader
DfsObjDatabase. newReader()
ObjectReader
DfsReader. newReader()
-
Uses of ObjectReader in org.eclipse.jgit.internal.storage.pack
Constructors in org.eclipse.jgit.internal.storage.pack with parameters of type ObjectReader 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. -
Uses of ObjectReader in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that return ObjectReader Modifier and Type Method Description ObjectReader
Repository. newObjectReader()
abstract ObjectReader
ObjectDatabase. newReader()
Create a newObjectReader
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. -
Uses of ObjectReader in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as ObjectReader Modifier and Type Field Description protected 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 ObjectReader 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. -
Uses of ObjectReader in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk that return ObjectReader Modifier and Type Method Description ObjectReader
RevWalk. getObjectReader()
Constructors in org.eclipse.jgit.revwalk with parameters of type ObjectReader 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. -
Uses of ObjectReader in org.eclipse.jgit.treewalk
Methods in org.eclipse.jgit.treewalk that return ObjectReader Modifier and Type Method Description ObjectReader
TreeWalk. getObjectReader()
Methods in org.eclipse.jgit.treewalk with parameters of type ObjectReader 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 theDirCache
.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.Constructors in org.eclipse.jgit.treewalk with parameters of type ObjectReader 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.
-