restic/internal/restorer
Michael Eischer 5b6a77058a Enable sparseness only conditionally
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.
2022-09-24 21:20:00 +02:00
..
doc.go gofmt all files 2022-08-19 19:12:26 +02:00
filerestorer.go Enable sparseness only conditionally 2022-09-24 21:20:00 +02:00
filerestorer_test.go Enable sparseness only conditionally 2022-09-24 21:20:00 +02:00
fileswriter.go Enable sparseness only conditionally 2022-09-24 21:20:00 +02:00
fileswriter_test.go Enable sparseness only conditionally 2022-09-24 21:20:00 +02:00
hardlinks_index.go restorer: extract hardlinks index from restic package 2022-07-17 13:45:42 +02:00
hardlinks_index_test.go restorer: extract hardlinks index from restic package 2022-07-17 13:45:42 +02:00
preallocate_darwin.go Use FcntlFstore to preallocate on Mac 2021-04-10 16:54:07 +02:00
preallocate_linux.go restorer: pre-allocate files before loading chunks 2020-09-07 21:41:47 +02:00
preallocate_other.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
preallocate_test.go restorer: Skip preallocate test if not supported by the filesystem 2021-03-04 20:33:46 +01:00
restorer.go Enable sparseness only conditionally 2022-09-24 21:20:00 +02:00
restorer_test.go Enable sparseness only conditionally 2022-09-24 21:20:00 +02:00
restorer_unix_test.go Enable sparseness only conditionally 2022-09-24 21:20:00 +02:00
sparsewrite.go Enable sparseness only conditionally 2022-09-24 21:20:00 +02:00