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.errors |
Exceptions thrown by lower-level JGit APIs.
|
org.eclipse.jgit.internal.fsck |
Git fsck support.
|
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
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.reftable | |
org.eclipse.jgit.internal.storage.reftree | |
org.eclipse.jgit.junit | |
org.eclipse.jgit.junit.http | |
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.revplot |
Building/rendering revision graphs.
|
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.revwalk.filter |
Filters for use in revision walking.
|
org.eclipse.jgit.submodule |
Git submodule support.
|
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 | Class and Description |
---|---|
private static class |
NameRevCommand.NameRevCommit |
Modifier and Type | Method and Description |
---|---|
LogCommand |
LogCommand.add(AnyObjectId start)
Mark a commit to start graph traversal from.
|
private LogCommand |
LogCommand.add(boolean include,
AnyObjectId start) |
LogCommand |
LogCommand.addRange(AnyObjectId since,
AnyObjectId until)
Adds the range
since..until |
void |
CloneCommand.Callback.checkingOut(AnyObjectId commit,
java.lang.String path)
Notify checkout of commit
|
MergeCommand |
MergeCommand.include(AnyObjectId aCommit)
Id of a commit which is to be merged with the current head
|
RevertCommand |
RevertCommand.include(AnyObjectId commit)
Include a commit to be reverted
|
CherryPickCommand |
CherryPickCommand.include(AnyObjectId commit)
Include a commit
|
MergeCommand |
MergeCommand.include(java.lang.String name,
AnyObjectId aCommit)
Include a commit
|
RevertCommand |
RevertCommand.include(java.lang.String name,
AnyObjectId commit)
Include a commit to be reverted
|
CherryPickCommand |
CherryPickCommand.include(java.lang.String name,
AnyObjectId commit)
Include a commit
|
LogCommand |
LogCommand.not(AnyObjectId start)
Same as
--not start , or ^start |
BlameCommand |
BlameCommand.reverse(AnyObjectId start,
AnyObjectId end)
Configure the command to compute reverse blame (history of deletes).
|
BlameCommand |
BlameCommand.reverse(AnyObjectId start,
java.util.Collection<ObjectId> end)
Configure the generator to compute reverse blame (history of deletes).
|
BlameCommand |
BlameCommand.setStartCommit(AnyObjectId commit)
Set start commit id
|
RebaseCommand |
RebaseCommand.setUpstream(AnyObjectId upstream)
Set the upstream commit
|
Constructor and Description |
---|
NameRevCommit(AnyObjectId id) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
ReverseWalk.ReverseCommit |
Modifier and Type | Method and Description |
---|---|
protected RevCommit |
ReverseWalk.createCommit(AnyObjectId id)
Construct a new unparsed commit for the given object.
|
BlameGenerator |
BlameGenerator.push(java.lang.String description,
AnyObjectId id)
Push a candidate object onto the generator's traversal stack.
|
BlameGenerator |
BlameGenerator.reverse(AnyObjectId start,
AnyObjectId end)
Configure the generator to compute reverse blame (history of deletes).
|
BlameGenerator |
BlameGenerator.reverse(AnyObjectId start,
java.util.Collection<? extends ObjectId> end)
Configure the generator to compute reverse blame (history of deletes).
|
Constructor and Description |
---|
ReverseCommit(AnyObjectId id) |
Modifier and Type | Method and Description |
---|---|
(package private) static DiffEntry |
DiffEntry.add(java.lang.String path,
AnyObjectId id) |
(package private) static DiffEntry |
DiffEntry.delete(java.lang.String path,
AnyObjectId id) |
void |
DiffFormatter.format(AnyObjectId a,
AnyObjectId b)
Format the differences between two trees.
|
java.util.List<DiffEntry> |
DiffFormatter.scan(AnyObjectId a,
AnyObjectId b)
Determine the differences between two trees.
|
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.
|
private static CanonicalTreeParser |
DirCacheBuilder.createTreeParser(byte[] pathPrefix,
ObjectReader reader,
AnyObjectId tree) |
static DirCache |
DirCache.read(ObjectReader reader,
AnyObjectId treeId)
Create a new in memory index read from the contents of a tree.
|
void |
DirCacheEntry.setObjectId(AnyObjectId id)
Set the ObjectId for the entry.
|
Modifier and Type | Method and Description |
---|---|
void |
LargeObjectException.setObjectId(AnyObjectId id)
Set the identity of the object, if its not already set.
|
Constructor and Description |
---|
CorruptObjectException(AnyObjectId id,
java.lang.String why)
Construct a CorruptObjectException for reporting a problem specified
object id
|
CorruptObjectException(ObjectChecker.ErrorType type,
AnyObjectId id,
java.lang.String why)
Report a specific error condition discovered in an object.
|
LargeObjectException(AnyObjectId id)
Create a large object exception, naming the object that is too big.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
FsckPackParser.ObjFromPack |
Modifier and Type | Method and Description |
---|---|
protected void |
FsckPackParser.onBeginRefDelta(long deltaStreamPosition,
AnyObjectId baseId,
long inflatedSize)
Event notifying start of a delta referencing its base by ObjectId.
|
protected void |
FsckPackParser.verifySafeObject(AnyObjectId id,
int type,
byte[] data)
Verify the integrity of the object.
|
Constructor and Description |
---|
ObjFromPack(AnyObjectId id) |
Modifier and Type | Class and Description |
---|---|
class |
LogIndex
An ObjectId for a commit extended with incrementing log index.
|
Modifier and Type | Method and Description |
---|---|
(package private) LogIndex |
LogIndex.nextIndex(AnyObjectId id) |
(package private) void |
Round.runAsync(AnyObjectId newId)
Asynchronously distribute the round's new value for
refs/txn/accepted to all replicas. |
(package private) static LogIndex |
LogIndex.unknown(AnyObjectId id) |
Constructor and Description |
---|
LogIndex(AnyObjectId id,
long index) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
DfsObjectToPack
|
private static class |
DfsPackCompactor.ObjectIdWithOffset |
Modifier and Type | Method and Description |
---|---|
private boolean |
DfsGarbageCollector.anyPackHas(AnyObjectId id) |
private static ObjectLoader |
DfsReader.checkType(ObjectLoader ldr,
AnyObjectId id,
int typeHint) |
(package private) long |
DfsPackFile.findOffset(DfsReader ctx,
AnyObjectId id) |
(package private) ObjectLoader |
DfsPackFile.get(DfsReader ctx,
AnyObjectId id)
Get an object from this pack.
|
long |
DfsReader.getObjectSize(AnyObjectId objectId,
int typeHint)
Get only the size of an object.
|
(package private) long |
DfsPackFile.getObjectSize(DfsReader ctx,
AnyObjectId id) |
private long |
DfsReader.getObjectSizeImpl(DfsObjDatabase.PackList packList,
AnyObjectId objectId) |
boolean |
DfsReader.has(AnyObjectId objectId)
Does the requested object exist in this database?
|
boolean |
DfsInserter.Reader.has(AnyObjectId objectId) |
boolean |
DfsObjDatabase.has(AnyObjectId objectId,
boolean avoidUnreachableObjects)
Does the requested object exist in this database?
|
private boolean |
DfsReader.hasImpl(DfsObjDatabase.PackList packList,
AnyObjectId objectId) |
boolean |
DfsPackFile.hasObject(DfsReader ctx,
AnyObjectId id)
Check if an object is stored within this pack.
|
DfsObjectToPack |
DfsReader.newObjectToPack(AnyObjectId objectId,
int type)
Allocate a new
PackWriter state structure for an object. |
protected void |
DfsPackParser.onBeginRefDelta(long streamPosition,
AnyObjectId baseId,
long inflatedSize)
Event notifying start of a delta referencing its base by ObjectId.
|
ObjectLoader |
DfsReader.open(AnyObjectId objectId,
int typeHint)
Open an object from this database.
|
ObjectLoader |
DfsInserter.Reader.open(AnyObjectId objectId,
int typeHint) |
private ObjectLoader |
DfsReader.openImpl(DfsObjDatabase.PackList packList,
AnyObjectId objectId) |
Constructor and Description |
---|
DfsObjectToPack(AnyObjectId src,
int type) |
ObjectIdWithOffset(AnyObjectId id,
long ofs) |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
BasePackBitmapIndex.StoredBitmap
Data representation of the bitmap entry restored from a pack index.
|
private static class |
BitmapIndexImpl.MutableEntry |
private static class |
CachedObjectDirectory.UnpackedObjectId |
(package private) static class |
LazyObjectIdSetFile.Entry |
(package private) class |
LocalObjectToPack
|
private static class |
PackBitmapIndexBuilder.PositionEntry |
static class |
PackBitmapIndexRemapper.Entry
An entry in the old PackBitmapIndex.
|
Modifier and Type | Field and Description |
---|---|
private AnyObjectId |
PackFileSnapshot.checksum |
Modifier and Type | Method and Description |
---|---|
(package private) AnyObjectId |
PackFile.getPackChecksum() |
private AnyObjectId |
PackFileSnapshot.readChecksum(java.io.File packFile) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
UnpackedObjectCache.add(AnyObjectId objectId) |
(package private) boolean |
UnpackedObjectCache.Table.add(AnyObjectId toAdd) |
void |
PackBitmapIndexBuilder.addBitmap(AnyObjectId objectId,
BitmapIndex.Bitmap bitmap,
int flags)
Stores the bitmap for the objectId.
|
void |
PackBitmapIndexBuilder.addBitmap(AnyObjectId objectId,
com.googlecode.javaewah.EWAHCompressedBitmap bitmap,
int flags)
Stores the bitmap for the objectId.
|
BitmapIndex.BitmapBuilder |
BitmapIndexImpl.CompressedBitmapBuilder.addObject(AnyObjectId objectId,
int type) |
private int |
PackIndexV2.binarySearchLevelTwo(AnyObjectId objId,
int levelOne) |
(package private) static void |
UnpackedObject.checkValidEndOfStream(java.io.InputStream in,
java.util.zip.Inflater inf,
AnyObjectId id,
byte[] buf) |
boolean |
PackIndex.contains(AnyObjectId id)
Returns true if the objectId is contained within the collection.
|
boolean |
LazyObjectIdSetFile.contains(AnyObjectId objectId)
Returns true if the objectId is contained within the collection.
|
boolean |
BitmapIndexImpl.CompressedBitmapBuilder.contains(AnyObjectId objectId) |
(package private) boolean |
UnpackedObjectCache.Table.contains(AnyObjectId toFind) |
java.io.File |
ObjectDirectory.fileFor(AnyObjectId objectId) |
(package private) java.io.File |
CachedObjectDirectory.fileFor(AnyObjectId id) |
(package private) abstract java.io.File |
FileObjectDatabase.fileFor(AnyObjectId id) |
abstract long |
PackIndex.findCRC32(AnyObjectId objId)
Retrieve stored CRC32 checksum of the requested object raw-data
(including header).
|
long |
PackIndexV2.findCRC32(AnyObjectId objId)
Retrieve stored CRC32 checksum of the requested object raw-data
(including header).
|
long |
PackIndexV1.findCRC32(AnyObjectId objId)
Retrieve stored CRC32 checksum of the requested object raw-data
(including header).
|
abstract long |
PackIndex.findOffset(AnyObjectId objId)
Locate the file offset position for the requested object.
|
long |
PackIndexV2.findOffset(AnyObjectId objId)
Locate the file offset position for the requested object.
|
long |
PackIndexV1.findOffset(AnyObjectId objId)
Locate the file offset position for the requested object.
|
(package private) int |
BitmapIndexImpl.findOrInsert(AnyObjectId objectId,
int type) |
(package private) int |
BitmapIndexImpl.MutableBitmapIndex.findOrInsert(AnyObjectId objectId,
int type) |
int |
PackBitmapIndexRemapper.findPosition(AnyObjectId objectId)
Finds the position in the bitmap of the object.
|
int |
PackBitmapIndexV1.findPosition(AnyObjectId objectId)
Finds the position in the bitmap of the object.
|
(package private) int |
BitmapIndexImpl.findPosition(AnyObjectId objectId) |
(package private) int |
BitmapIndexImpl.MutableBitmapIndex.findPosition(AnyObjectId objectId) |
abstract int |
PackBitmapIndex.findPosition(AnyObjectId objectId)
Finds the position in the bitmap of the object.
|
int |
PackBitmapIndexBuilder.findPosition(AnyObjectId objectId)
Finds the position in the bitmap of the object.
|
(package private) ObjectLoader |
PackFile.get(WindowCursor curs,
AnyObjectId id)
Get an object from this pack.
|
com.googlecode.javaewah.EWAHCompressedBitmap |
PackBitmapIndexRemapper.getBitmap(AnyObjectId objectId)
Returns the previously constructed bitmap for the object.
|
com.googlecode.javaewah.EWAHCompressedBitmap |
BasePackBitmapIndex.getBitmap(AnyObjectId objectId)
Returns the previously constructed bitmap for the object.
|
BitmapIndexImpl.CompressedBitmap |
BitmapIndexImpl.getBitmap(AnyObjectId objectId)
Get the bitmap for the id.
|
abstract com.googlecode.javaewah.EWAHCompressedBitmap |
PackBitmapIndex.getBitmap(AnyObjectId objectId)
Returns the previously constructed bitmap for the object.
|
private long |
ObjectDirectory.getLooseObjectSize(WindowCursor curs,
AnyObjectId id) |
private long |
ObjectDirectory.getLooseSizeFromSelfOrAlternate(WindowCursor curs,
AnyObjectId id,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
long |
WindowCursor.getObjectSize(AnyObjectId objectId,
int typeHint)
Get only the size of an object.
|
(package private) long |
ObjectDirectory.getObjectSize(WindowCursor curs,
AnyObjectId id) |
(package private) long |
CachedObjectDirectory.getObjectSize(WindowCursor curs,
AnyObjectId objectId) |
(package private) long |
PackFile.getObjectSize(WindowCursor curs,
AnyObjectId id) |
(package private) abstract long |
FileObjectDatabase.getObjectSize(WindowCursor curs,
AnyObjectId objectId) |
private long |
ObjectDirectory.getPackedObjectSize(WindowCursor curs,
AnyObjectId id) |
private long |
ObjectDirectory.getPackedSizeFromSelfOrAlternate(WindowCursor curs,
AnyObjectId id,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
(package private) static long |
UnpackedObject.getSize(java.io.InputStream in,
AnyObjectId id,
WindowCursor wc) |
boolean |
ObjectDirectory.has(AnyObjectId objectId)
Does the requested object exist in this database?
|
boolean |
CachedObjectDirectory.has(AnyObjectId objectId)
Does the requested object exist in this database?
|
boolean |
WindowCursor.has(AnyObjectId objectId)
Does the requested object exist in this database?
|
private boolean |
CachedObjectDirectory.has(AnyObjectId objectId,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
private boolean |
ObjectDirectory.hasLooseInSelfOrAlternate(AnyObjectId objectId,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
boolean |
PackIndex.hasObject(AnyObjectId id)
Determine if an object is contained within the pack file.
|
boolean |
PackFile.hasObject(AnyObjectId id)
Determine if an object is contained within the pack file.
|
private boolean |
ObjectDirectory.hasPackedInSelfOrAlternate(AnyObjectId objectId,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
(package private) boolean |
ObjectDirectory.hasPackedObject(AnyObjectId objectId) |
private int |
UnpackedObjectCache.Table.index(AnyObjectId id) |
(package private) boolean |
UnpackedObjectCache.isUnpacked(AnyObjectId objectId) |
LocalObjectToPack |
WindowCursor.newObjectToPack(AnyObjectId objectId,
int type)
Allocate a new
PackWriter state structure for an object. |
protected void |
ObjectDirectoryPackParser.onBeginRefDelta(long streamPosition,
AnyObjectId baseId,
long inflatedSize)
Event notifying start of a delta referencing its base by ObjectId.
|
ObjectLoader |
PackInserter.Reader.open(AnyObjectId objectId,
int typeHint) |
ObjectLoader |
WindowCursor.open(AnyObjectId objectId,
int typeHint)
Open an object from this database.
|
(package private) static ObjectLoader |
UnpackedObject.open(java.io.InputStream in,
java.io.File path,
AnyObjectId id,
WindowCursor wc) |
private ObjectLoader |
ObjectDirectory.openLooseFromSelfOrAlternate(WindowCursor curs,
AnyObjectId objectId,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
(package private) ObjectLoader |
ObjectDirectory.openLooseObject(WindowCursor curs,
AnyObjectId id) |
(package private) ObjectLoader |
CachedObjectDirectory.openLooseObject(WindowCursor curs,
AnyObjectId id) |
(package private) abstract ObjectLoader |
FileObjectDatabase.openLooseObject(WindowCursor curs,
AnyObjectId id) |
(package private) ObjectLoader |
ObjectDirectory.openObject(WindowCursor curs,
AnyObjectId objectId) |
(package private) ObjectLoader |
CachedObjectDirectory.openObject(WindowCursor curs,
AnyObjectId objectId) |
(package private) abstract ObjectLoader |
FileObjectDatabase.openObject(WindowCursor curs,
AnyObjectId objectId) |
private ObjectLoader |
CachedObjectDirectory.openObject(WindowCursor curs,
AnyObjectId objectId,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
private ObjectLoader |
ObjectDirectory.openPackedFromSelfOrAlternate(WindowCursor curs,
AnyObjectId objectId,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
(package private) ObjectLoader |
ObjectDirectory.openPackedObject(WindowCursor curs,
AnyObjectId objectId) |
static ObjectLoader |
UnpackedObject.parse(byte[] raw,
AnyObjectId id)
Parse an object from the unpacked object format.
|
void |
BitmapIndexImpl.CompressedBitmapBuilder.remove(AnyObjectId objectId) |
(package private) void |
UnpackedObjectCache.remove(AnyObjectId objectId) |
(package private) LocalObjectRepresentation |
PackFile.representation(WindowCursor curs,
AnyObjectId objectId) |
(package private) void |
PackFileSnapshot.setChecksum(AnyObjectId checksum) |
Constructor and Description |
---|
Entry(AnyObjectId id) |
Entry(AnyObjectId src,
int flags) |
LargeObject(int type,
long size,
java.io.File path,
AnyObjectId id,
FileObjectDatabase db) |
LocalObjectToPack(AnyObjectId src,
int type) |
MutableEntry(AnyObjectId objectId,
int type,
int position) |
PositionEntry(AnyObjectId objectId,
int namePosition) |
StoredBitmap(AnyObjectId objectId,
com.googlecode.javaewah.EWAHCompressedBitmap bitmap,
BasePackBitmapIndex.StoredBitmap xorBitmap,
int flags) |
UnpackedObjectId(AnyObjectId id) |
Modifier and Type | Class and Description |
---|---|
private static class |
BaseSearch.TreeWithData |
class |
ObjectToPack
Per-object state used by
PackWriter . |
(package private) static class |
PackWriterBitmapPreparer.BitmapCommit
A commit object for which a bitmap index should be built.
|
Modifier and Type | Method and Description |
---|---|
private void |
BaseSearch.add(AnyObjectId id,
int objectType,
int pathHash) |
private void |
PackWriter.addObject(AnyObjectId src,
int type,
int pathHashCode) |
private byte[] |
PackWriter.buffer(AnyObjectId objId) |
(package private) static byte[] |
PackWriter.buffer(PackConfig config,
ObjectReader or,
AnyObjectId objId) |
private boolean |
PackWriter.exclude(AnyObjectId objectId) |
private void |
PackWriter.filterAndAddObject(AnyObjectId src,
int type,
int pathHashCode,
java.util.Set<? extends AnyObjectId> want) |
ObjectToPack |
PackWriter.get(AnyObjectId id)
Lookup the ObjectToPack object for a given ObjectId.
|
private boolean |
PackWriter.have(ObjectToPack ptr,
AnyObjectId objectId) |
ObjectToPack |
ObjectReuseAsIs.newObjectToPack(AnyObjectId objectId,
int type)
Allocate a new
PackWriter state structure for an object. |
private byte[] |
BaseSearch.readTree(AnyObjectId id) |
boolean |
PackWriter.willInclude(AnyObjectId id)
Determine if the pack file will contain the requested object.
|
Modifier and Type | Method and Description |
---|---|
private void |
PackWriter.filterAndAddObject(AnyObjectId src,
int type,
int pathHashCode,
java.util.Set<? extends AnyObjectId> want) |
Constructor and Description |
---|
BitmapCommit(AnyObjectId objectId,
boolean reuseWalker,
int flags) |
ObjectToPack(AnyObjectId src,
int type)
Construct for the specified object id.
|
TreeWithData(AnyObjectId id,
byte[] buf) |
Modifier and Type | Class and Description |
---|---|
private static class |
ReftableWriter.RefList |
Modifier and Type | Field and Description |
---|---|
(package private) AnyObjectId |
MergedReftable.FilteringMergedRefCursor.filterId |
Modifier and Type | Method and Description |
---|---|
RefCursor |
ReftableReader.byObjectId(AnyObjectId id)
Match references pointing to a specific object.
|
abstract RefCursor |
Reftable.byObjectId(AnyObjectId id)
Match references pointing to a specific object.
|
RefCursor |
MergedReftable.byObjectId(AnyObjectId name)
Match references pointing to a specific object.
|
boolean |
Reftable.hasId(AnyObjectId id)
Test if any reference directly refers to the object.
|
Constructor and Description |
---|
FilteringMergedRefCursor(AnyObjectId id) |
ObjCursorImpl(long scanEnd,
AnyObjectId id) |
RefList(AnyObjectId id) |
Modifier and Type | Method and Description |
---|---|
private static CanonicalTreeParser |
Scanner.createParserAtPath(ObjectReader reader,
AnyObjectId srcId,
java.lang.String prefix) |
private static void |
Scanner.scan(ObjectReader reader,
AnyObjectId srcId,
java.lang.String prefix,
boolean recursive,
RefList.Builder<Ref> all,
RefList.Builder<Ref> sym) |
private static RevTree |
Scanner.toTree(ObjectReader reader,
AnyObjectId id) |
Modifier and Type | Method and Description |
---|---|
<T extends AnyObjectId> |
TestRepository.update(java.lang.String ref,
T obj)
Update a reference to point to an object.
|
Modifier and Type | Method and Description |
---|---|
TestRepository.CommitBuilder |
TestRepository.amend(AnyObjectId id)
Amend an existing commit.
|
RevCommit |
TestRepository.cherryPick(AnyObjectId id)
Cherry-pick a commit onto HEAD.
|
void |
TestRepository.reset(AnyObjectId id)
Soft-reset HEAD to a detached state.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
HttpTestCase.loose(URIish base,
AnyObjectId id)
Create loose object path
|
Modifier and Type | Method and Description |
---|---|
private static LfsPointer |
LfsPrePushHook.loadLfsPointer(ObjectReader r,
AnyObjectId obj) |
Modifier and Type | Class and Description |
---|---|
class |
MutableObjectId
A mutable SHA-1 abstraction.
|
class |
ObjectId
A SHA-1 abstraction.
|
static class |
ObjectIdOwnerMap.Entry
Type of entry stored in the
ObjectIdOwnerMap . |
Modifier and Type | Field and Description |
---|---|
private AnyObjectId |
GitmoduleEntry.blobId |
private AnyObjectId |
IndexDiff.tree |
private AnyObjectId |
GitmoduleEntry.treeId |
Modifier and Type | Method and Description |
---|---|
private static AnyObjectId |
BlobBasedConfig.asTree(ObjectReader or,
AnyObjectId treeish) |
AnyObjectId |
GitmoduleEntry.getBlobId() |
AnyObjectId |
GitmoduleEntry.getTreeId() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<AnyObjectId,java.util.Set<Ref>> |
Repository.getAllRefsByPeeledObjectId()
Get a map with all objects referenced by a peeled ref.
|
Modifier and Type | Method and Description |
---|---|
AbbreviatedObjectId |
ObjectReader.abbreviate(AnyObjectId objectId)
Obtain a unique abbreviation (prefix) of an object SHA-1.
|
AbbreviatedObjectId |
ObjectReader.Filter.abbreviate(AnyObjectId objectId) |
AbbreviatedObjectId |
ObjectReader.abbreviate(AnyObjectId objectId,
int len)
Obtain a unique abbreviation (prefix) of an object SHA-1.
|
AbbreviatedObjectId |
ObjectReader.Filter.abbreviate(AnyObjectId objectId,
int len) |
BitmapIndex.BitmapBuilder |
BitmapIndex.BitmapBuilder.addObject(AnyObjectId objectId,
int type)
Adds the id to the bitmap.
|
void |
CommitBuilder.addParentId(AnyObjectId additionalParent)
Add a parent onto the end of the parent list.
|
void |
TreeFormatter.append(byte[] name,
FileMode mode,
AnyObjectId id)
Append any entry to the tree.
|
void |
TreeFormatter.append(byte[] nameBuf,
int namePos,
int nameLen,
FileMode mode,
AnyObjectId id)
Append any entry to the tree.
|
void |
TreeFormatter.append(byte[] nameBuf,
int namePos,
int nameLen,
FileMode mode,
AnyObjectId id,
boolean allowEmptyName)
Append any entry to the tree.
|
void |
TreeFormatter.append(java.lang.String name,
FileMode mode,
AnyObjectId id)
Append any entry to the tree.
|
private static AnyObjectId |
BlobBasedConfig.asTree(ObjectReader or,
AnyObjectId treeish) |
void |
ObjectChecker.check(AnyObjectId id,
int objType,
byte[] raw)
Check an object for parsing errors.
|
void |
ObjectChecker.checkCommit(AnyObjectId id,
byte[] raw)
Check a commit for errors.
|
private void |
ObjectChecker.checkNotWindowsDevice(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
private void |
ObjectChecker.checkPathSegment2(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
private void |
ObjectChecker.checkPersonIdent(byte[] raw,
AnyObjectId id) |
void |
ObjectChecker.checkTag(AnyObjectId id,
byte[] raw)
Check an annotated tag for errors.
|
void |
ObjectChecker.checkTree(AnyObjectId id,
byte[] raw)
Check a canonical formatted tree for errors.
|
private boolean |
ObjectChecker.checkTruncatedIgnorableUTF8(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
int |
AnyObjectId.compareTo(AnyObjectId other) |
boolean |
ObjectIdOwnerMap.contains(AnyObjectId toFind)
Returns true if the objectId is contained within the collection.
|
boolean |
ObjectIdSubclassMap.contains(AnyObjectId toFind)
Returns true if the objectId is contained within the collection.
|
boolean |
ObjectIdSet.contains(AnyObjectId objectId)
Returns true if the objectId is contained within the collection.
|
boolean |
BitmapIndex.BitmapBuilder.contains(AnyObjectId objectId)
Whether the bitmap has the id set.
|
static int |
Constants.decodeTypeString(AnyObjectId id,
byte[] typeString,
byte endMark,
MutableInteger offset)
Parse an encoded type string into a type constant.
|
void |
BlobObjectChecker.endBlob(AnyObjectId id)
Finalize the blob checking.
|
boolean |
AnyObjectId.equals(AnyObjectId other)
Determine if this ObjectId has exactly the same value as another.
|
private static boolean |
ObjectIdOwnerMap.equals(AnyObjectId firstObjectId,
AnyObjectId secondObjectId) |
static boolean |
AnyObjectId.equals(AnyObjectId firstObjectId,
AnyObjectId secondObjectId)
Deprecated.
use
isEqual(AnyObjectId, AnyObjectId) instead |
void |
MutableObjectId.fromObjectId(AnyObjectId src)
Copy an ObjectId into this mutable buffer.
|
static AbbreviatedObjectId |
AbbreviatedObjectId.fromObjectId(AnyObjectId id)
Convert an AbbreviatedObjectId from an
AnyObjectId . |
V |
ObjectIdOwnerMap.get(AnyObjectId toFind)
Lookup an existing mapping.
|
V |
ObjectIdSubclassMap.get(AnyObjectId toFind)
Lookup an existing mapping.
|
BitmapIndex.Bitmap |
BitmapIndex.getBitmap(AnyObjectId objectId)
Get the bitmap for the id.
|
long |
ObjectReader.getObjectSize(AnyObjectId objectId,
int typeHint)
Get only the size of an object.
|
long |
ObjectReader.Filter.getObjectSize(AnyObjectId objectId,
int typeHint) |
boolean |
ObjectReader.has(AnyObjectId objectId)
Does the requested object exist in this database?
|
boolean |
ObjectReader.Filter.has(AnyObjectId objectId) |
boolean |
ObjectDatabase.has(AnyObjectId objectId)
Does the requested object exist in this database?
|
boolean |
ObjectReader.has(AnyObjectId objectId,
int typeHint)
Does the requested object exist in this database?
|
boolean |
ObjectReader.Filter.has(AnyObjectId objectId,
int typeHint) |
boolean |
Repository.hasObject(AnyObjectId objectId)
Deprecated.
use
getObjectDatabase().has(objectId) |
static boolean |
AnyObjectId.isEqual(AnyObjectId firstObjectId,
AnyObjectId secondObjectId)
Compare two object identifier byte sequences for equality.
|
private boolean |
ObjectChecker.isGitmodules(byte[] buf,
int start,
int end,
AnyObjectId id)
Check if the filename contained in buf[start:end] could be read as a
.gitmodules file when checked out to the working directory.
|
private boolean |
ObjectChecker.isMacHFSGit(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
private boolean |
ObjectChecker.isMacHFSGitmodules(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
private boolean |
ObjectChecker.isMacHFSPath(byte[] raw,
int ptr,
int end,
byte[] path,
AnyObjectId id) |
ObjectLoader |
ObjectReader.open(AnyObjectId objectId)
Open an object from this database.
|
ObjectLoader |
ObjectReader.Filter.open(AnyObjectId objectId) |
ObjectLoader |
Repository.open(AnyObjectId objectId)
Open an object from this repository.
|
ObjectLoader |
ObjectDatabase.open(AnyObjectId objectId)
Open an object from this database.
|
abstract ObjectLoader |
ObjectReader.open(AnyObjectId objectId,
int typeHint)
Open an object from this database.
|
ObjectLoader |
ObjectReader.Filter.open(AnyObjectId objectId,
int typeHint) |
ObjectLoader |
Repository.open(AnyObjectId objectId,
int typeHint)
Open an object from this repository.
|
ObjectLoader |
ObjectDatabase.open(AnyObjectId objectId,
int typeHint)
Open an object from this database.
|
RevCommit |
Repository.parseCommit(AnyObjectId id)
Locate a reference to a commit and immediately parse its content.
|
int |
AbbreviatedObjectId.prefixCompare(AnyObjectId other)
Compares this abbreviation to a full object id.
|
private static byte[] |
BlobBasedConfig.read(ObjectReader or,
AnyObjectId blobId) |
private static byte[] |
BlobBasedConfig.read(Repository db,
AnyObjectId blobId) |
private static byte[] |
BlobBasedConfig.read(Repository db,
AnyObjectId treeish,
java.lang.String path) |
void |
BitmapIndex.BitmapBuilder.remove(AnyObjectId objectId)
Remove the id from the bitmap.
|
private void |
ObjectChecker.report(ObjectChecker.ErrorType err,
AnyObjectId id,
java.lang.String why) |
private static RevObject |
RefUpdate.safeParseNew(RevWalk rw,
AnyObjectId newId) |
private static RevObject |
RefUpdate.safeParseOld(RevWalk rw,
AnyObjectId oldId) |
private int |
ObjectChecker.scanPathSegment(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
void |
RefUpdate.setExpectedOldObjectId(AnyObjectId id)
Set the expected value of the ref after the lock is taken, but before
update occurs.
|
void |
RefUpdate.setNewObjectId(AnyObjectId id)
Set the new value the ref will update to.
|
void |
TagBuilder.setObjectId(AnyObjectId obj,
int objType)
Set the object this tag refers to, and its type.
|
void |
CommitBuilder.setParentId(AnyObjectId newParent)
Set the parent of this commit.
|
void |
CommitBuilder.setParentIds(AnyObjectId parent1,
AnyObjectId parent2)
Set the parents of this commit.
|
void |
CommitBuilder.setTreeId(AnyObjectId id)
Set the tree id for this commit object.
|
static void |
ObjectIdSerializer.write(java.io.OutputStream out,
AnyObjectId id)
Write a possibly null
ObjectId to the stream, using markers to
differentiate null and non-null instances. |
static void |
ObjectIdSerializer.writeWithoutMarker(java.io.OutputStream out,
AnyObjectId id)
Write a non-null
ObjectId to the stream. |
Modifier and Type | Method and Description |
---|---|
void |
CommitBuilder.setParentIds(java.util.List<? extends AnyObjectId> newParents)
Set the parents of this commit.
|
Constructor and Description |
---|
BlobBasedConfig(Config base,
Repository db,
AnyObjectId objectId)
Load a configuration file from a blob.
|
BlobBasedConfig(Config base,
Repository db,
AnyObjectId treeish,
java.lang.String path)
Load a configuration file from a blob stored in a specific commit.
|
Entry(AnyObjectId id)
Initialize this entry with a specific ObjectId.
|
GitmoduleEntry(AnyObjectId treeId,
AnyObjectId blobId)
A record of (tree, blob) for a .gitmodule file in a pack
|
ObjectId(AnyObjectId src)
Initialize this instance by copying another existing ObjectId.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ThreeWayMerger.merge(AnyObjectId... tips)
Merge together two or more tree-ish objects.
|
boolean |
Merger.merge(AnyObjectId... tips)
Merge together two or more tree-ish objects.
|
boolean |
Merger.merge(boolean flush,
AnyObjectId... tips)
Merge together two or more tree-ish objects.
|
protected AbstractTreeIterator |
Merger.openTree(AnyObjectId treeId)
Open an iterator over a tree.
|
void |
ThreeWayMerger.setBase(AnyObjectId id)
Set the common ancestor tree.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
NonNoteEntry
A tree entry found in a note branch that isn't a valid note.
|
class |
Note
In-memory representation of a single note attached to one object.
|
Modifier and Type | Method and Description |
---|---|
private int |
FanoutBucket.cell(AnyObjectId id) |
boolean |
NoteMap.contains(AnyObjectId id)
Determine if a note exists for the specified ObjectId.
|
(package private) InMemoryNoteBucket |
FanoutBucket.contractIfTooSmall(AnyObjectId noteOn,
ObjectReader or) |
(package private) abstract int |
NoteBucket.estimateSize(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) |
ObjectId |
NoteMap.get(AnyObjectId id)
Lookup a note for a specific ObjectId.
|
byte[] |
NoteMap.getCachedBytes(AnyObjectId id,
int sizeLimit)
Open and return the content of an object's note.
|
Note |
NoteMap.getNote(AnyObjectId id)
Lookup a note for a specific ObjectId.
|
(package private) abstract Note |
NoteBucket.getNote(AnyObjectId objId,
ObjectReader reader) |
(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 java.util.Iterator<Note> |
NoteBucket.iterator(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) |
private InMemoryNoteBucket |
FanoutBucket.LazyNoteBucket.load(AnyObjectId prefix,
ObjectReader or) |
(package private) static InMemoryNoteBucket |
FanoutBucket.loadIfLazy(NoteBucket b,
AnyObjectId prefix,
ObjectReader or) |
(package private) void |
LeafBucket.parseOneEntry(AnyObjectId noteOn,
AnyObjectId noteData) |
void |
NoteMap.remove(AnyObjectId noteOn)
Remove a note from an object.
|
private int |
LeafBucket.search(AnyObjectId objId) |
(package private) abstract InMemoryNoteBucket |
NoteBucket.set(AnyObjectId noteOn,
AnyObjectId noteData,
ObjectReader reader) |
(package private) InMemoryNoteBucket |
FanoutBucket.set(AnyObjectId noteOn,
AnyObjectId noteData,
ObjectReader or) |
(package private) InMemoryNoteBucket |
FanoutBucket.LazyNoteBucket.set(AnyObjectId noteOn,
AnyObjectId noteData,
ObjectReader or) |
(package private) InMemoryNoteBucket |
LeafBucket.set(AnyObjectId noteOn,
AnyObjectId noteData,
ObjectReader or) |
void |
NoteMap.set(AnyObjectId noteOn,
ObjectId noteData)
Attach (or remove) a note on an object.
|
void |
NoteMap.set(AnyObjectId noteOn,
java.lang.String noteData,
ObjectInserter ins)
Attach a note to an object.
|
Constructor and Description |
---|
NonNoteEntry(byte[] name,
FileMode mode,
AnyObjectId id) |
Note(AnyObjectId noteOn,
ObjectId noteData)
A Git note about the object referenced by
noteOn . |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AnyObjectId,java.util.Set<Ref>> |
Log.allRefsByPeeledObjectId |
Modifier and Type | Method and Description |
---|---|
void |
Clone.checkingOut(AnyObjectId commit,
java.lang.String path)
Notify checkout of commit
|
private boolean |
Merge.isMergedInto(Ref oldHead,
AnyObjectId src) |
private void |
LsRemote.show(AnyObjectId id,
java.lang.String name) |
private void |
ShowRef.show(AnyObjectId id,
java.lang.String name) |
Modifier and Type | Class and Description |
---|---|
class |
PlotCommit<L extends PlotLane>
A commit reference to a commit in the DAG.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<AnyObjectId,java.util.Set<Ref>> |
PlotWalk.additionalRefMap |
private java.util.Map<AnyObjectId,java.util.Set<Ref>> |
PlotWalk.reverseRefMap |
Modifier and Type | Method and Description |
---|---|
protected RevCommit |
PlotWalk.createCommit(AnyObjectId id)
Construct a new unparsed commit for the given object.
|
private Ref[] |
PlotWalk.getRefs(AnyObjectId commitId) |
Constructor and Description |
---|
PlotCommit(AnyObjectId id)
Create a new commit.
|
Modifier and Type | Class and Description |
---|---|
static class |
DepthWalk.Commit
RevCommit with a depth (in commits) from a root.
|
class |
RevBlob
A binary file, or a symbolic link.
|
class |
RevCommit
A commit reference to a commit in the DAG.
|
class |
RevObject
Base object type accessed during revision walking.
|
class |
RevTag
An annotated tag.
|
class |
RevTree
A reference to a tree of subtrees/files.
|
Modifier and Type | Method and Description |
---|---|
protected RevCommit |
DepthWalk.RevWalk.createCommit(AnyObjectId id) |
protected RevCommit |
DepthWalk.ObjectWalk.createCommit(AnyObjectId id) |
protected RevCommit |
RevWalk.createCommit(AnyObjectId id)
Construct a new unparsed commit for the given object.
|
boolean |
BitmapWalker.BitmapObjectFilter.include(ObjectWalk walker,
AnyObjectId objid) |
RevObject |
RevWalk.lookupAny(AnyObjectId id,
int type)
Locate a reference to any object without loading it.
|
RevBlob |
RevWalk.lookupBlob(AnyObjectId id)
Locate a reference to a blob without loading it.
|
RevCommit |
RevWalk.lookupCommit(AnyObjectId id)
Locate a reference to a commit without loading it.
|
RevObject |
RevWalk.lookupOrNull(AnyObjectId id)
Locate an object that was previously allocated in this walk.
|
RevTag |
RevWalk.lookupTag(AnyObjectId id)
Locate a reference to a tag without loading it.
|
RevTree |
RevWalk.lookupTree(AnyObjectId id)
Locate a reference to a tree without loading it.
|
RevObject |
RevWalk.parseAny(AnyObjectId id)
Locate a reference to any object and immediately parse its headers.
|
RevCommit |
RevWalk.parseCommit(AnyObjectId id)
Locate a reference to a commit and immediately parse its content.
|
private RevObject |
RevWalk.parseNew(AnyObjectId id,
ObjectLoader ldr) |
RevTag |
RevWalk.parseTag(AnyObjectId id)
Locate a reference to an annotated tag and immediately parse its content.
|
RevTree |
RevWalk.parseTree(AnyObjectId id)
Locate a reference to a tree.
|
Constructor and Description |
---|
Commit(AnyObjectId id)
Initialize a new commit.
|
RevBlob(AnyObjectId id)
Create a new blob reference.
|
RevCommit(AnyObjectId id)
Create a new commit reference.
|
RevObject(AnyObjectId name) |
RevTag(AnyObjectId id)
Create a new tag reference.
|
RevTree(AnyObjectId id)
Create a new tree reference.
|
Modifier and Type | Method and Description |
---|---|
abstract boolean |
ObjectFilter.include(ObjectWalk walker,
AnyObjectId objid)
Determine if the named object should be included in the walk.
|
boolean |
ObjectFilter.AllFilter.include(ObjectWalk walker,
AnyObjectId o) |
Modifier and Type | Method and Description |
---|---|
static SubmoduleWalk |
SubmoduleWalk.forPath(Repository repository,
AnyObjectId treeId,
java.lang.String path)
Create a generator and advance it to the submodule entry at the given
path
|
SubmoduleWalk |
SubmoduleWalk.setRootTree(AnyObjectId id)
Set the tree used by this walk for finding
.gitmodules . |
SubmoduleWalk |
SubmoduleWalk.setTree(AnyObjectId treeId)
Set the tree used for finding submodule entries
|
Modifier and Type | Class and Description |
---|---|
class |
PackedObjectInfo
Description of an object stored in a pack file, including offset.
|
private static class |
PackParser.DeltaChain |
Modifier and Type | Method and Description |
---|---|
private void |
RefAdvertiser.advertiseAny(AnyObjectId obj,
java.lang.String refName) |
private void |
RefAdvertiser.advertiseAnyOnce(AnyObjectId obj,
java.lang.String refName) |
void |
RefAdvertiser.advertiseHave(AnyObjectId id)
Advertise one object is available using the magic
.have . |
void |
RefAdvertiser.advertiseId(AnyObjectId id,
java.lang.String refName)
Advertise one object under a specific name.
|
void |
RefAdvertiser.PacketLineOutRefAdvertiser.advertiseId(AnyObjectId id,
java.lang.String refName) |
private boolean |
WalkFetchConnection.alreadyHave(AnyObjectId id) |
private void |
PackParser.checkObjectCollision(AnyObjectId obj,
int type,
byte[] data) |
private boolean |
WalkFetchConnection.downloadLooseObject(AnyObjectId id,
java.lang.String looseName,
WalkRemoteObjectDatabase remote) |
private void |
WalkFetchConnection.downloadObject(ProgressMonitor pm,
AnyObjectId id) |
private boolean |
WalkFetchConnection.downloadPackedObject(ProgressMonitor monitor,
AnyObjectId id) |
private java.util.Collection<WalkRemoteObjectDatabase> |
WalkFetchConnection.expandOneAlternate(AnyObjectId id,
ProgressMonitor pm) |
void |
BundleWriter.include(java.lang.String name,
AnyObjectId id)
Include an object (and everything reachable from it) in the bundle.
|
private void |
BasePackFetchConnection.markAdvertised(AnyObjectId id) |
private static java.lang.String |
WantNotValidException.msg(AnyObjectId id) |
protected PackedObjectInfo |
PackParser.newInfo(AnyObjectId id,
PackParser.UnresolvedDelta delta,
ObjectId deltaBase)
Construct a PackedObjectInfo instance for this parser.
|
protected abstract void |
PackParser.onBeginRefDelta(long deltaStreamPosition,
AnyObjectId baseId,
long inflatedSize)
Event notifying start of a delta referencing its base by ObjectId.
|
private void |
WalkFetchConnection.recordError(AnyObjectId id,
java.lang.Throwable what) |
private PackParser.UnresolvedDelta |
PackParser.removeBaseById(AnyObjectId id) |
private void |
WalkFetchConnection.verifyAndInsertLooseObject(AnyObjectId id,
byte[] compressed) |
protected void |
PackParser.verifySafeObject(AnyObjectId id,
int type,
byte[] data)
Verify the integrity of the object.
|
Constructor and Description |
---|
DeltaChain(AnyObjectId id) |
PackedObjectInfo(AnyObjectId id)
Create a new structure to remember information about an object.
|
PackedObjectInfo(long headerOffset,
int packedCRC,
AnyObjectId id) |
TrackingRefUpdate(boolean canForceUpdate,
java.lang.String remoteName,
java.lang.String localName,
AnyObjectId oldValue,
AnyObjectId newValue) |
WantNotValidException(AnyObjectId id)
Construct a
"want $id not valid" exception. |
WantNotValidException(AnyObjectId id,
java.lang.Throwable cause)
Construct a
"want $id not valid" exception. |
Modifier and Type | Method and Description |
---|---|
int |
TreeWalk.addTree(AnyObjectId id)
Add an already existing tree object for walking.
|
CanonicalTreeParser |
CanonicalTreeParser.createSubtreeIterator0(ObjectReader reader,
AnyObjectId id)
Back door to quickly create a subtree iterator for any subtree.
|
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.
|
static TreeWalk |
TreeWalk.forPath(Repository db,
java.lang.String path,
AnyObjectId... trees)
Open a tree walk and filter to exactly one path.
|
private static AttributesNode |
CanonicalTreeParser.loadAttributes(ObjectReader reader,
AnyObjectId id) |
private CanonicalTreeParser |
TreeWalk.parserFor(AnyObjectId id) |
void |
TreeWalk.reset(AnyObjectId... ids)
Reset this walker to run over a set of existing trees.
|
void |
TreeWalk.reset(AnyObjectId id)
Reset this walker to run over a single existing tree.
|
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.
|