| Modifier and Type | Field and Description |
|---|---|
| private AnyObjectId | |
| private static final ObjectId | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean | |
| public boolean | isModified(File
the path the snapshot describes. packFile)Overrides org. Check if the path may have been modified since the snapshot was saved. |
| private AnyObjectId | |
| public static PackFileSnapshot | Returns: the snapshot.the path to later remember. The path's current status
information is saved. path)Hides org. Record a snapshot for a specific packfile path. |
| pack-priv void | |
| public String | toString()
Overrides org. Returns a string representation of the object. |
| pack-priv boolean |
| checksum | back to summary |
|---|---|
| private AnyObjectId checksum | |
| MISSING_CHECKSUM | back to summary |
|---|---|
| private static final ObjectId MISSING_CHECKSUM | |
| wasChecksumChanged | back to summary |
|---|---|
| private boolean wasChecksumChanged | |
| PackFileSnapshot | back to summary |
|---|---|
| pack-priv PackFileSnapshot(File packFile) | |
| isChecksumChanged | back to summary |
|---|---|
| pack-priv boolean isChecksumChanged(File packFile) | |
| isModified | back to summary |
|---|---|
| public boolean isModified(File packFile) Overrides org. Doc from org. Check if the path may have been modified since the snapshot was saved. | |
| readChecksum | back to summary |
|---|---|
| private AnyObjectId readChecksum(File packFile) | |
| save | back to summary |
|---|---|
| public static PackFileSnapshot save(File path) Hides org. Record a snapshot for a specific packfile path. This method should be invoked before the packfile is accessed.
| |
| setChecksum | back to summary |
|---|---|
| pack-priv void setChecksum(AnyObjectId checksum) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| wasChecksumChanged | back to summary |
|---|---|
| pack-priv boolean wasChecksumChanged() | |