mirror of
https://github.com/restic/restic.git
synced 2026-01-20 13:53:20 -05:00
We can either preallocate storage for a file or sparsify it. This detects a pack file as sparse if it contains an all zero block or consists of only one block. As the file sparsification is just an approximation, hide it behind a `--sparse` parameter. |
||
|---|---|---|
| .. | ||
| doc.go | ||
| filerestorer.go | ||
| filerestorer_test.go | ||
| fileswriter.go | ||
| fileswriter_test.go | ||
| hardlinks_index.go | ||
| hardlinks_index_test.go | ||
| preallocate_darwin.go | ||
| preallocate_linux.go | ||
| preallocate_other.go | ||
| preallocate_test.go | ||
| restorer.go | ||
| restorer_test.go | ||
| restorer_unix_test.go | ||
| sparsewrite.go | ||