Class LocalObjectRepresentation.Delta
java.lang.Object
org.eclipse.jgit.internal.storage.pack.StoredObjectRepresentation
org.eclipse.jgit.internal.storage.file.LocalObjectRepresentation
org.eclipse.jgit.internal.storage.file.LocalObjectRepresentation.Delta
- Enclosing class:
LocalObjectRepresentation
-
Field Summary
Fields inherited from class org.eclipse.jgit.internal.storage.file.LocalObjectRepresentation
length, offset, pack
Fields inherited from class org.eclipse.jgit.internal.storage.pack.StoredObjectRepresentation
FORMAT_OTHER, PACK_DELTA, PACK_WHOLE, WEIGHT_UNKNOWN
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.jgit.internal.storage.file.LocalObjectRepresentation
getDeltaBase, getWeight, newDelta, newDelta, newWhole
Methods inherited from class org.eclipse.jgit.internal.storage.pack.StoredObjectRepresentation
wasDeltaAttempted
-
Constructor Details
-
Delta
private Delta()
-
-
Method Details
-
getFormat
public int getFormat()Description copied from class:StoredObjectRepresentation
Get the storage format type- Overrides:
getFormat
in classStoredObjectRepresentation
- Returns:
- the storage format type, which must be one of
StoredObjectRepresentation.PACK_DELTA
,StoredObjectRepresentation.PACK_WHOLE
, orStoredObjectRepresentation.FORMAT_OTHER
.
-