mirror of
https://github.com/octoleo/restic.git
synced 2025-02-04 04:48:29 +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.