|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jgit.storage.dfs.DfsPackFile
public final class DfsPackFile
A Git version 2 pack file representation. A pack file contains Git objects in delta packed format yielding high compression of lots of object where some objects are similar.
Method Summary | |
---|---|
void |
close()
Release all memory used by this DfsPackFile instance. |
long |
getCachedSize()
|
DfsPackDescription |
getPackDescription()
|
boolean |
hasObject(DfsReader ctx,
AnyObjectId id)
Check if an object is stored within this pack. |
boolean |
isIndexLoaded()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public DfsPackDescription getPackDescription()
public boolean isIndexLoaded()
public long getCachedSize()
public boolean hasObject(DfsReader ctx, AnyObjectId id) throws IOException
ctx
- reader context to support reading from the backing store if
the index is not already loaded in memory.id
- object to be located.
IOException
- the pack index is not available, or is corrupt.public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |