Uses of Class
org.eclipse.jgit.lib.ObjectReader
-
Packages that use ObjectReader Package Description org.eclipse.jgit.api High-level API commands (the porcelain of JGit).org.eclipse.jgit.blame Computing blame/annotate information of files.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.lfs 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.pgm org.eclipse.jgit.pgm.debug 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). -
-
Uses of ObjectReader in org.eclipse.jgit.api
Methods in org.eclipse.jgit.api with parameters of type ObjectReader Modifier and Type Method Description private void
CheckoutCommand. checkoutPath(DirCacheEntry entry, ObjectReader reader, Checkout checkout, java.lang.String path, DirCacheCheckout.CheckoutMetadata checkoutMetadata)
private void
StashApplyCommand. checkoutPath(DirCacheEntry entry, java.lang.String gitPath, ObjectReader reader, Checkout checkout, DirCacheCheckout.CheckoutMetadata checkoutMetadata)
private RevCommit
StashCreateCommand. parseCommit(ObjectReader reader, ObjectId headId)
-
Uses of ObjectReader in org.eclipse.jgit.blame
Fields in org.eclipse.jgit.blame declared as ObjectReader Modifier and Type Field Description private ObjectReader
BlameGenerator. reader
Methods in org.eclipse.jgit.blame with parameters of type ObjectReader Modifier and Type Method Description (package private) void
Candidate. loadText(ObjectReader reader)
-
Uses of ObjectReader in org.eclipse.jgit.diff
Fields in org.eclipse.jgit.diff declared as ObjectReader Modifier and Type Field Description private ObjectReader
RenameDetector. objectReader
private ObjectReader
ContentSource.ObjectReaderSource. reader
private ObjectReader
DiffFormatter. reader
Methods in org.eclipse.jgit.diff with parameters of type ObjectReader Modifier and Type Method Description java.util.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.private void
DiffFormatter. setReader(ObjectReader reader, Config cfg, boolean closeReader)
Constructors in org.eclipse.jgit.diff with parameters of type ObjectReader Constructor Description ObjectReaderSource(ObjectReader reader)
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.void
Checkout. checkout(DirCacheEntry entry, DirCacheCheckout.CheckoutMetadata metadata, ObjectReader reader, java.lang.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)
Updates the file in the working tree with content and mode from an entry in the index.AbstractTreeIterator
DirCacheBuildIterator. createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.AbstractTreeIterator
DirCacheIterator. createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.private static CanonicalTreeParser
DirCacheBuilder. createTreeParser(byte[] pathPrefix, ObjectReader reader, AnyObjectId tree)
private static CanonicalTreeParser
DirCacheBuilder. enterTree(CanonicalTreeParser p, ObjectReader reader)
AttributesNode
DirCacheIterator. getEntryAttributesNode(ObjectReader reader)
Retrieves theAttributesNode
for the current entry.(package private) AttributesNode
DirCacheIterator.LazyLoadingAttributesNode. load(ObjectReader reader)
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.dfs Modifier and Type Class Description private class
DfsInserter.Reader
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()
Open a reader for objects that may have been written by this inserter.ObjectReader
DfsInserter.Reader. newReader()
ObjectReader
DfsReader. newReader()
Construct a new reader from the same data. -
Uses of ObjectReader in org.eclipse.jgit.internal.storage.file
Subclasses of ObjectReader in org.eclipse.jgit.internal.storage.file Modifier and Type Class Description private class
PackInserter.Reader
(package private) class
WindowCursor
Active handle to a ByteWindow.Fields in org.eclipse.jgit.internal.storage.file declared as ObjectReader Modifier and Type Field Description private ObjectReader
PackInserter.Reader. ctx
Methods in org.eclipse.jgit.internal.storage.file that return ObjectReader Modifier and Type Method Description ObjectReader
FileObjectDatabase. newReader()
Create a newObjectReader
to read existing objects.ObjectReader
ObjectDirectoryInserter. newReader()
Open a reader for objects that may have been written by this inserter.ObjectReader
PackInserter. newReader()
Open a reader for objects that may have been written by this inserter.ObjectReader
PackInserter.Reader. newReader()
ObjectReader
WindowCursor. newReader()
Construct a new reader from the same data.Methods in org.eclipse.jgit.internal.storage.file with parameters of type ObjectReader Modifier and Type Method Description private void
GC. loosen(ObjectDirectoryInserter inserter, ObjectReader reader, Pack pack, java.util.HashSet<ObjectId> existing)
Loosen objects in a pack file which are not also in the newly-created pack files. -
Uses of ObjectReader in org.eclipse.jgit.internal.storage.pack
Fields in org.eclipse.jgit.internal.storage.pack declared as ObjectReader Modifier and Type Field Description private ObjectReader
DeltaTask. or
private ObjectReader
BaseSearch. reader
private ObjectReader
DeltaWindow. reader
private ObjectReader
PackWriter. reader
private ObjectReader
PackWriterBitmapPreparer. reader
(package private) ObjectReader
DeltaTask.Block. templateReader
Methods in org.eclipse.jgit.internal.storage.pack with parameters of type ObjectReader Modifier and Type Method Description (package private) static byte[]
PackWriter. buffer(PackConfig config, ObjectReader or, AnyObjectId objId)
Constructors in org.eclipse.jgit.internal.storage.pack with parameters of type ObjectReader Constructor Description BaseSearch(ProgressMonitor countingMonitor, java.util.Set<RevTree> bases, ObjectIdOwnerMap<ObjectToPack> objects, java.util.List<ObjectToPack> edges, ObjectReader or)
Block(int threads, PackConfig config, ObjectReader reader, DeltaCache dc, ThreadSafeProgressMonitor pm, ObjectToPack[] list, int begin, int end)
DeltaWindow(PackConfig pc, DeltaCache dc, ObjectReader or, ProgressMonitor pm, long bpu, ObjectToPack[] in, int beginIndex, int endIndex)
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.PackWriter(PackConfig config, ObjectReader reader, PackStatistics.Accumulator statsAccumulator)
Create writer with a specified configuration.PackWriterBitmapPreparer(ObjectReader reader, PackBitmapIndexBuilder writeBitmaps, ProgressMonitor pm, java.util.Set<? extends ObjectId> want, PackConfig config)
-
Uses of ObjectReader in org.eclipse.jgit.lfs
Methods in org.eclipse.jgit.lfs with parameters of type ObjectReader Modifier and Type Method Description private static long
LfsPrePushHook. getObjectSize(ObjectReader r, RevObject obj)
private static LfsPointer
LfsPrePushHook. loadLfsPointer(ObjectReader r, AnyObjectId obj)
-
Uses of ObjectReader in org.eclipse.jgit.lib
Subclasses of ObjectReader in org.eclipse.jgit.lib Modifier and Type Class Description static class
ObjectReader.Filter
Wraps a delegate ObjectReader.Methods in org.eclipse.jgit.lib that return ObjectReader Modifier and Type Method Description protected abstract ObjectReader
ObjectReader.Filter. delegate()
ObjectReader
Repository. newObjectReader()
Create a new reader to read objects fromRepository.getObjectDatabase()
.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.ObjectReader
ObjectReader.Filter. newReader()
abstract ObjectReader
ObjectReader. newReader()
Construct a new reader from the same data.Methods in org.eclipse.jgit.lib with parameters of type ObjectReader Modifier and Type Method Description private static AnyObjectId
BlobBasedConfig. asTree(ObjectReader or, AnyObjectId treeish)
private static byte[]
BlobBasedConfig. read(ObjectReader or, AnyObjectId blobId)
-
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
Fields in org.eclipse.jgit.notes declared as ObjectReader Modifier and Type Field Description private ObjectReader
NoteMap. reader
Borrowed reader to access the repository.private ObjectReader
NoteMapMerger. reader
Methods in org.eclipse.jgit.notes with parameters of type ObjectReader Modifier and Type Method Description (package private) InMemoryNoteBucket
FanoutBucket. contractIfTooSmall(AnyObjectId noteOn, ObjectReader or)
(package private) int
FanoutBucket. estimateSize(AnyObjectId noteOn, ObjectReader or)
(package private) int
FanoutBucket.LazyNoteBucket. estimateSize(AnyObjectId objId, ObjectReader or)
(package private) int
LeafBucket. estimateSize(AnyObjectId noteOn, ObjectReader or)
(package private) abstract int
NoteBucket. estimateSize(AnyObjectId noteOn, ObjectReader or)
(package private) Note
FanoutBucket. getNote(AnyObjectId objId, ObjectReader or)
(package private) Note
FanoutBucket.LazyNoteBucket. getNote(AnyObjectId objId, ObjectReader or)
(package private) Note
LeafBucket. getNote(AnyObjectId objId, ObjectReader or)
(package private) abstract Note
NoteBucket. getNote(AnyObjectId objId, ObjectReader reader)
(package private) java.util.Iterator<Note>
FanoutBucket. iterator(AnyObjectId objId, ObjectReader reader)
(package private) java.util.Iterator<Note>
FanoutBucket.LazyNoteBucket. iterator(AnyObjectId objId, ObjectReader reader)
(package private) java.util.Iterator<Note>
LeafBucket. iterator(AnyObjectId objId, ObjectReader reader)
(package private) abstract java.util.Iterator<Note>
NoteBucket. iterator(AnyObjectId objId, ObjectReader reader)
private InMemoryNoteBucket
FanoutBucket.LazyNoteBucket. load(AnyObjectId prefix, ObjectReader or)
(package private) static InMemoryNoteBucket
FanoutBucket. loadIfLazy(NoteBucket b, AnyObjectId prefix, ObjectReader or)
Note
DefaultNoteMerger. merge(Note base, Note ours, Note theirs, ObjectReader reader, ObjectInserter inserter)
Merges the conflicting note changes.Note
NoteMerger. merge(Note base, Note ours, Note their, ObjectReader reader, ObjectInserter inserter)
Merges the conflicting note changes.(package private) static NoteMap
NoteMap. newMap(InMemoryNoteBucket root, ObjectReader reader)
Construct a new note map from an existing note bucket.(package private) static InMemoryNoteBucket
NoteParser. parse(AbbreviatedObjectId prefix, ObjectId treeId, ObjectReader reader)
Parse a tree object into aNoteBucket
instance.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.(package private) InMemoryNoteBucket
FanoutBucket.LazyNoteBucket. set(AnyObjectId noteOn, AnyObjectId noteData, ObjectReader or)
(package private) InMemoryNoteBucket
FanoutBucket. set(AnyObjectId noteOn, AnyObjectId noteData, ObjectReader or)
(package private) InMemoryNoteBucket
LeafBucket. set(AnyObjectId noteOn, AnyObjectId noteData, ObjectReader or)
(package private) abstract InMemoryNoteBucket
NoteBucket. set(AnyObjectId noteOn, AnyObjectId noteData, ObjectReader reader)
Constructors in org.eclipse.jgit.notes with parameters of type ObjectReader Constructor Description NoteMap(ObjectReader reader)
NoteParser(AbbreviatedObjectId prefix, ObjectReader r, ObjectId t)
-
Uses of ObjectReader in org.eclipse.jgit.pgm
Methods in org.eclipse.jgit.pgm with parameters of type ObjectReader Modifier and Type Method Description private java.lang.String
Blame. abbreviate(ObjectReader reader, RevCommit commit)
private static java.lang.String
AbstractFetchCommand. longTypeOf(ObjectReader reader, TrackingRefUpdate u)
private void
Branch. printHead(ObjectReader reader, java.lang.String ref, boolean isCurrent, Ref refObj)
private void
Push. printPushResult(ObjectReader reader, URIish uri, PushResult result)
private void
Push. printRefUpdateResult(ObjectReader reader, URIish uri, PushResult result, RemoteRefUpdate rru)
private static java.lang.String
AbstractFetchCommand. safeAbbreviate(ObjectReader reader, ObjectId id)
private static java.lang.String
Push. safeAbbreviate(ObjectReader reader, ObjectId id)
private int
Blame. uniqueAbbrevLen(ObjectReader reader, RevCommit commit)
-
Uses of ObjectReader in org.eclipse.jgit.pgm.debug
Methods in org.eclipse.jgit.pgm.debug with parameters of type ObjectReader Modifier and Type Method Description private static byte[]
ShowPackDelta. getDelta(ObjectReader reader, RevObject obj)
-
Uses of ObjectReader in org.eclipse.jgit.revwalk
Fields in org.eclipse.jgit.revwalk declared as ObjectReader Modifier and Type Field Description (package private) ObjectReader
RevWalk. reader
Methods in org.eclipse.jgit.revwalk that return ObjectReader Modifier and Type Method Description ObjectReader
RevWalk. getObjectReader()
Get the reader this walker is using to load objects.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.RevWalk(ObjectReader or, boolean closeReader)
-
Uses of ObjectReader in org.eclipse.jgit.transport
Fields in org.eclipse.jgit.transport declared as ObjectReader Modifier and Type Field Description private ObjectReader
PackParser. readCurs
private ObjectReader
BundleWriter. reader
(package private) ObjectReader
PushCertificateStore. reader
private ObjectReader
WalkFetchConnection. reader
Inserter to read objects fromWalkFetchConnection.local
.Constructors in org.eclipse.jgit.transport with parameters of type ObjectReader Constructor Description BundleWriter(ObjectReader or)
Create a writer for a bundle. -
Uses of ObjectReader in org.eclipse.jgit.treewalk
Fields in org.eclipse.jgit.treewalk declared as ObjectReader Modifier and Type Field Description private ObjectReader
TreeWalk. reader
Methods in org.eclipse.jgit.treewalk that return ObjectReader Modifier and Type Method Description ObjectReader
TreeWalk. getObjectReader()
Get the reader this walker is using to load objects.Methods in org.eclipse.jgit.treewalk with parameters of type ObjectReader Modifier and Type Method Description private boolean
WorkingTreeIterator. contentCheck(DirCacheEntry entry, ObjectReader reader)
Compares the entries content with the content in the filesystem.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)
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
EmptyTreeIterator. createSubtreeIterator(ObjectReader reader)
Create a new iterator for the current entry's subtree.AbstractTreeIterator
FileTreeIterator. createSubtreeIterator(ObjectReader reader)
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.private AttributesNode
CanonicalTreeParser. findAttributes(ObjectReader reader)
static TreeWalk
TreeWalk. forPath(ObjectReader reader, java.lang.String path, AnyObjectId... trees)
Open a tree walk and filter to exactly one path.static TreeWalk
TreeWalk. forPath(Repository repo, ObjectReader reader, java.lang.String path, AnyObjectId... trees)
Open a tree walk and filter to exactly one path.AttributesNode
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
.private static AttributesNode
CanonicalTreeParser. loadAttributes(ObjectReader reader, AnyObjectId id)
private static java.lang.String
WorkingTreeIterator. readContentAsNormalizedString(DirCacheEntry entry, ObjectReader reader)
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.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.TreeWalk(Repository repo, ObjectReader or, boolean closeReader)
-