mirror of
https://github.com/restic/restic.git
synced 2026-05-27 04:25:22 +00:00
5b6a77058a
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.