| Modifier and Type | Field and Description |
|---|---|
| public static final PackExt | BITMAP_INDEX
A pack bitmap index file extension. |
| public static final PackExt | COMMIT_GRAPH
A commit graph file extension. |
| private final String | |
| public static final PackExt | INDEX
A pack index file extension. |
| public static final PackExt | KEEP
A keep pack file extension. |
| public static final PackExt | OBJECT_SIZE_INDEX
An object size index. |
| public static final PackExt | PACK
A pack file extension. |
| public static final PackExt | REFTABLE
A reftable file. |
| public static final PackExt | REVERSE_INDEX
A pack reverse index file extension. |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the bit mask of the extension e.g1 << getPosition().Get the bit mask of the extension e.g |
| public String | |
| public int | Returns: the position of the extension in the enum declaration.Get the position of the extension in the enum declaration. |
| public String | Returns: a temporary file extensionFormat a temporary file extension for this PackExt. |
| public String | toString()
Overrides java. Returns the name of this enum constant, as contained in the declaration. |
| public static PackExt | |
| public static PackExt[] |
| BITMAP_INDEX | back to summary |
|---|---|
| public static final PackExt BITMAP_INDEX A pack bitmap index file extension. | |
| COMMIT_GRAPH | back to summary |
|---|---|
| public static final PackExt COMMIT_GRAPH A commit graph file extension. | |
| ext | back to summary |
|---|---|
| private final String ext | |
| INDEX | back to summary |
|---|---|
| public static final PackExt INDEX A pack index file extension. | |
| KEEP | back to summary |
|---|---|
| public static final PackExt KEEP A keep pack file extension. | |
| OBJECT_SIZE_INDEX | back to summary |
|---|---|
| public static final PackExt OBJECT_SIZE_INDEX An object size index. | |
| PACK | back to summary |
|---|---|
| public static final PackExt PACK A pack file extension. | |
| REFTABLE | back to summary |
|---|---|
| public static final PackExt REFTABLE A reftable file. | |
| REVERSE_INDEX | back to summary |
|---|---|
| public static final PackExt REVERSE_INDEX A pack reverse index file extension. | |
| PackExt | back to summary |
|---|---|
| private PackExt(String ext) | |
| getBit | back to summary |
|---|---|
| public int getBit() Get the bit mask of the extension e.g
| |
| getExtension | back to summary |
|---|---|
| public String getExtension() Get the file extension.
| |
| getPosition | back to summary |
|---|---|
| public int getPosition() Get the position of the extension in the enum declaration.
| |
| getTmpExtension | back to summary |
|---|---|
| public String getTmpExtension() Format a temporary file extension for this PackExt.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists. | |
| valueOf | back to summary |
|---|---|
| public static PackExt valueOf(String name) | |
| values | back to summary |
|---|---|
| public static PackExt[] values() | |