chunkadditionalinfo.go
raw| 1 | package desync |
| 2 | |
| 3 | // ChunkAdditionalInfo contains detailed information about a particular chunk. |
| 4 | // Some of those info, e.g. CompressedSize, are only exact for the store used when |
| 5 | // generating it. Because other stores could potentially use different compression levels. |
| 6 | type ChunkAdditionalInfo struct { |
| 7 | ID ChunkID `json:"id"` |
| 8 | UncompressedSize uint64 `json:"uncompressed_size"` |
| 9 | CompressedSize int64 `json:"compressed_size,omitempty"` |
| 10 | } |