Package | Description |
---|---|
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 |
DfsPackParser.onAppendBase(int typeCode,
byte[] data,
PackedObjectInfo info) |
protected void |
DfsPackParser.onEndWholeObject(PackedObjectInfo info) |
protected void |
DfsPackParser.onInflatedObjectData(PackedObjectInfo obj,
int typeCode,
byte[] data) |
protected PackParser.ObjectTypeAndSize |
DfsPackParser.seekDatabase(PackedObjectInfo obj,
PackParser.ObjectTypeAndSize info) |
Modifier and Type | Field and Description |
---|---|
protected List<? extends PackedObjectInfo> |
PackIndexWriter.entries
The entries this writer must pack.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
ObjectDirectoryPackParser.onAppendBase(int typeCode,
byte[] data,
PackedObjectInfo info) |
protected void |
ObjectDirectoryPackParser.onEndWholeObject(PackedObjectInfo info) |
protected void |
ObjectDirectoryPackParser.onInflatedObjectData(PackedObjectInfo obj,
int typeCode,
byte[] data) |
protected PackParser.ObjectTypeAndSize |
ObjectDirectoryPackParser.seekDatabase(PackedObjectInfo obj,
PackParser.ObjectTypeAndSize info) |
Modifier and Type | Method and Description |
---|---|
static PackIndexWriter |
PackIndexWriter.createOldestPossible(OutputStream dst,
List<? extends PackedObjectInfo> objs)
Create a new writer for the oldest (most widely understood) format.
|
static int |
PackIndexWriter.oldestPossibleFormat(List<? extends PackedObjectInfo> objs)
Return the oldest (most widely understood) index format.
|
void |
PackIndexWriter.write(List<? extends PackedObjectInfo> toStore,
byte[] packDataChecksum)
Write all object entries to the index stream.
|
Modifier and Type | Class and Description |
---|---|
class |
ObjectToPack
Per-object state used by
PackWriter . |
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 |
---|---|
List<PackedObjectInfo> |
PackParser.getSortedObjectList(Comparator<PackedObjectInfo> cmp)
Get all of the objects, sorted by their name.
|
Modifier and Type | Method and Description |
---|---|
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 the current object.
|
protected abstract void |
PackParser.onInflatedObjectData(PackedObjectInfo obj,
int typeCode,
byte[] data)
Invoked for commits, trees, tags, and small blobs.
|
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 |
---|---|
List<PackedObjectInfo> |
PackParser.getSortedObjectList(Comparator<PackedObjectInfo> cmp)
Get all of the objects, sorted by their name.
|
Copyright © 2015. All rights reserved.