restic/internal
Michael Eischer 5d6ce59a8d restorer: also truncate files if their content is already uptodate
Files for which no blobs have to be restored, still have to be truncated
to the correct size. Take a file with content "foobar" that should be
replaced by restore with content "foo". The first three bytes are
already uptodate, such that no data has to be written. As file
truncation normally happens when writing data, a special case is
necessary.

This no blobs written special case is unified with the empty file
special case.
2024-07-21 12:03:56 +02:00
..
archiver archiver: extract Readdirnames to fs package 2024-07-05 21:03:34 +02:00
backend return exit code 10 if repository does not exist 2024-07-10 21:46:26 +02:00
bloblru Fix typos 2024-07-03 20:02:06 +02:00
checker check: suggest using repair packs to repair truncated pack files 2024-07-05 20:04:25 +02:00
crypto crypto: cleanup ciphertext verification error 2024-06-05 22:33:20 +02:00
debug Fix review comments 2024-04-29 16:21:38 -06:00
dump dump: add GetOrCompute to bloblru cache 2024-05-05 11:38:42 +02:00
errors Add changelog and fix lint error 2024-02-24 13:47:49 -07:00
feature s3: forbid anonymous authentication unless explicitly requested 2024-07-10 20:10:27 +02:00
filter remove no longer necessary conditional compiles 2022-11-27 13:18:44 +01:00
fs archiver: extract Readdirnames to fs package 2024-07-05 21:03:34 +02:00
fuse repository: fix parameter order of LookupBlobSize 2024-05-24 21:33:17 +02:00
migrations remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
options backend, options: Prefer strings.Cut to SplitN 2022-12-02 19:19:14 +01:00
repository Fix typos 2024-07-03 20:02:06 +02:00
restic Fix typos 2024-07-03 20:02:06 +02:00
restorer restorer: also truncate files if their content is already uptodate 2024-07-21 12:03:56 +02:00
selfupdate Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
test use consistent alias for interal/test package 2024-03-29 00:24:03 +01:00
textfile Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
ui ui/termstatus: fix clearing status lines 2024-07-06 11:27:35 +02:00
walker Update snapshot summary on rewrite 2024-07-16 12:06:50 -05:00