Package | Description |
---|---|
org.eclipse.jgit.internal.fsck |
Git fsck support.
|
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.transport |
Transport (fetch/push) for different protocols.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
FsckPackParser.onAppendBase(int typeCode,
byte[] data,
PackedObjectInfo info)
Provide the implementation with a base that was outside of the pack.
|
protected void |
FsckPackParser.onEndWholeObject(PackedObjectInfo info)
Event notifying the current object.
|
protected void |
FsckPackParser.onInflatedObjectData(PackedObjectInfo obj,
int typeCode,
byte[] data)
Invoked for commits, trees, tags, and small blobs.
|
protected PackParser.ObjectTypeAndSize |
FsckPackParser.seekDatabase(PackedObjectInfo obj,
PackParser.ObjectTypeAndSize info)
Reposition the database to re-read a previously stored object.
|
Modifier and Type | Class and Description |
---|---|
(package private) class |
DfsObjectToPack
|
Modifier and Type | Field and Description |
---|---|
(package private) java.util.List<PackedObjectInfo> |
DfsInserter.objectList |
(package private) ObjectIdOwnerMap<PackedObjectInfo> |
DfsInserter.objectMap |
Modifier and Type | Method and Description |
---|---|
private byte[] |
DfsInserter.Reader.inflate(PackedObjectInfo obj,
long zpos,
int sz) |
protected boolean |
DfsPackParser.onAppendBase(int typeCode,
byte[] data,
PackedObjectInfo info)
Provide the implementation with a base that was outside of the pack.
|
protected void |
DfsPackParser.onEndWholeObject(PackedObjectInfo info)
Event notifying the current object.
|
protected void |
DfsPackParser.onInflatedObjectData(PackedObjectInfo obj,
int typeCode,
byte[] data)
Invoked for commits, trees, tags, and small blobs.
|
protected PackParser.ObjectTypeAndSize |
DfsPackParser.seekDatabase(PackedObjectInfo obj,
PackParser.ObjectTypeAndSize info)
Reposition the database to re-read a previously stored object.
|
Modifier and Type | Method and Description |
---|---|
private static void |
DfsInserter.index(java.io.OutputStream out,
byte[] packHash,
java.util.List<PackedObjectInfo> list) |
private TemporaryBuffer.Heap |
DfsInserter.maybeGetTemporaryBuffer(java.util.List<PackedObjectInfo> list) |
(package private) PackIndex |
DfsInserter.writePackIndex(DfsPackDescription pack,
byte[] packHash,
java.util.List<PackedObjectInfo> list) |
Modifier and Type | Class and Description |
---|---|
(package private) class |
LocalObjectToPack
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<? extends PackedObjectInfo> |
PackIndexWriter.entries
The entries this writer must pack.
|
private java.util.List<PackedObjectInfo> |
PackInserter.objectList |
private ObjectIdOwnerMap<PackedObjectInfo> |
PackInserter.objectMap |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
PackIndexWriterV1.canStore(PackedObjectInfo oe) |
private byte[] |
PackInserter.Reader.inflate(PackedObjectInfo obj,
long zpos,
int sz) |
protected boolean |
ObjectDirectoryPackParser.onAppendBase(int typeCode,
byte[] data,
PackedObjectInfo info)
Provide the implementation with a base that was outside of the pack.
|
protected void |
ObjectDirectoryPackParser.onEndWholeObject(PackedObjectInfo info)
Event notifying the current object.
|
protected void |
ObjectDirectoryPackParser.onInflatedObjectData(PackedObjectInfo obj,
int typeCode,
byte[] data)
Invoked for commits, trees, tags, and small blobs.
|
protected PackParser.ObjectTypeAndSize |
ObjectDirectoryPackParser.seekDatabase(PackedObjectInfo obj,
PackParser.ObjectTypeAndSize info)
Reposition the database to re-read a previously stored object.
|
Modifier and Type | Method and Description |
---|---|
private ObjectId |
PackInserter.computeName(java.util.List<PackedObjectInfo> list) |
static PackIndexWriter |
PackIndexWriter.createOldestPossible(java.io.OutputStream dst,
java.util.List<? extends PackedObjectInfo> objs)
Create a new writer for the oldest (most widely understood) format.
|
static int |
PackIndexWriter.oldestPossibleFormat(java.util.List<? extends PackedObjectInfo> objs)
Return the oldest (most widely understood) index format.
|
void |
PackIndexWriter.write(java.util.List<? extends PackedObjectInfo> toStore,
byte[] packDataChecksum)
Write all object entries to the index stream.
|
private static void |
PackInserter.writePackIndex(java.io.File idx,
byte[] packHash,
java.util.List<PackedObjectInfo> list) |
Modifier and Type | Class and Description |
---|---|
class |
ObjectToPack
Per-object state used by
PackWriter . |
Modifier and Type | Field and Description |
---|---|
private PackedObjectInfo[] |
PackParser.entries |
Modifier and Type | Field and Description |
---|---|
private BlockList<PackedObjectInfo> |
PackParser.collisionCheckObjs
Objects need to be double-checked for collision after indexing.
|
Modifier and Type | Method and Description |
---|---|
PackedObjectInfo |
PackParser.getObject(int nth)
Get the information about the requested object.
|
protected PackedObjectInfo |
PackParser.newInfo(AnyObjectId id,
PackParser.UnresolvedDelta delta,
ObjectId deltaBase)
Construct a PackedObjectInfo instance for this parser.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PackedObjectInfo> |
PackParser.getSortedObjectList(java.util.Comparator<PackedObjectInfo> cmp)
Get all of the objects, sorted by their name.
|
Modifier and Type | Method and Description |
---|---|
private void |
PackParser.addObjectAndTrack(PackedObjectInfo oe) |
private void |
PackParser.checkObjectCollision(PackedObjectInfo obj) |
private PackParser.UnresolvedDelta |
PackParser.firstChildOf(PackedObjectInfo oe) |
protected abstract boolean |
PackParser.onAppendBase(int typeCode,
byte[] data,
PackedObjectInfo info)
Provide the implementation with a base that was outside of the pack.
|
protected abstract void |
PackParser.onEndWholeObject(PackedObjectInfo info)
Event notifying the current object.
|
protected abstract void |
PackParser.onInflatedObjectData(PackedObjectInfo obj,
int typeCode,
byte[] data)
Invoked for commits, trees, tags, and small blobs.
|
private PackParser.ObjectTypeAndSize |
PackParser.openDatabase(PackedObjectInfo obj,
PackParser.ObjectTypeAndSize info) |
private void |
PackParser.resolveDeltas(PackedObjectInfo oe,
ProgressMonitor progress) |
protected abstract PackParser.ObjectTypeAndSize |
PackParser.seekDatabase(PackedObjectInfo obj,
PackParser.ObjectTypeAndSize info)
Reposition the database to re-read a previously stored object.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PackedObjectInfo> |
PackParser.getSortedObjectList(java.util.Comparator<PackedObjectInfo> cmp)
Get all of the objects, sorted by their name.
|