org.eclipse.jgit.internal.storage.pack.PackWriter can consider for
packing.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | FORMAT_OTHER
Only available after inflating to canonical format. |
| public static final int | PACK_DELTA
Stored in pack format, as a delta to another object. |
| public static final int | PACK_WHOLE
Stored in pack format, without delta. |
| public static final int | WEIGHT_UNKNOWN
Special unknown value for |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ObjectId | Returns: identity of the object this delta applies to in order to recover the original object content. This method should only be called ifgetFormat() returned PACK_DELTA.Get identity of the object this delta applies to in order to recover the original object content. |
| public int | |
| public int | Returns: relative size of this object's packed form. The special valueWEIGHT_UNKNOWN can be returned to indicate the
implementation doesn't know, or cannot supply the weight up
front.Get relative size of this object's packed form. |
| public boolean | Returns: whether the current representation of the object has had delta compression attempted on it.Whether the current representation of the object has had delta compression attempted on it. |
| FORMAT_OTHER | back to summary |
|---|---|
| public static final int FORMAT_OTHER Only available after inflating to canonical format. | |
| PACK_DELTA | back to summary |
|---|---|
| public static final int PACK_DELTA Stored in pack format, as a delta to another object. | |
| PACK_WHOLE | back to summary |
|---|---|
| public static final int PACK_WHOLE Stored in pack format, without delta. | |
| WEIGHT_UNKNOWN | back to summary |
|---|---|
| public static final int WEIGHT_UNKNOWN Special unknown value for | |
| StoredObjectRepresentation | back to summary |
|---|---|
| public StoredObjectRepresentation() | |
| getDeltaBase | back to summary |
|---|---|
| public ObjectId getDeltaBase() Get identity of the object this delta applies to in order to recover the original object content.
| |
| getFormat | back to summary |
|---|---|
| public int getFormat() Get the storage format type
| |
| getWeight | back to summary |
|---|---|
| public int getWeight() Get relative size of this object's packed form.
| |
| wasDeltaAttempted | back to summary |
|---|---|
| public boolean wasDeltaAttempted() Whether the current representation of the object has had delta compression attempted on it.
| |