restic/internal
Michael Eischer 4b957e7373 repository: Implement index/snapshot/lock compression
The config file is not compressed as it should remain readable by older
restic versions such that these can return a proper error.

As the old format for unpacked data does not include a version header,
make use of a trick: The old data is always encoded as JSON. Thus it can
only start with '{' or '['. For any other value the first byte indicates
a versioned format. The version is set to 2 for now. Then the zstd
compressed data follows.
2022-04-30 10:07:42 +02:00
..
archiver Merge pull request #3683 from MichaelEischer/fix-golangci-lint-warnings 2022-03-29 11:45:10 +02:00
backend backend/mem: Actually enforce connection limit 2022-04-23 11:22:00 +02:00
bloblru bloblru: Fix comment for New function 2022-03-28 22:25:25 +02:00
cache crypto: Use helpers for size calculations 2022-03-28 22:09:49 +02:00
checker copy: Load snapshots before indexes 2022-04-09 12:27:25 +02:00
crypto crypto: Remove unused error 2020-09-05 10:07:16 +02:00
debug add go:build headers everywhere 2022-03-28 22:23:47 +02:00
dump Refactor internal/dump + concurrent load/write 2021-11-01 23:01:55 +01:00
errors errors: Ensure that errors.IsFatal(errors.Fatal("err")) == true 2022-03-28 22:09:49 +02:00
filter filter: short circuit if no negative patterns 2022-03-20 13:33:08 +01:00
fs Add simple test for fs.TempFile on windows 2022-04-09 23:37:58 +02:00
fuse copy/find/ls/recover/stats: Memorize snapshot listing before index 2022-04-09 12:26:30 +02:00
hashing errcheck: Add error checks 2021-01-30 20:02:37 +01:00
limiter golangci-lint: replace deprecated golint with revive 2022-03-28 22:33:17 +02:00
migrations Fix issues reported by semgrep 2020-12-11 09:41:59 +01:00
mock Backend: Expose connections parameter 2022-04-23 11:13:08 +02:00
options Some options fixes 2020-12-23 23:26:04 +03:00
pack pack: Hide more implementation details 2022-03-28 22:12:16 +02:00
repository repository: Implement index/snapshot/lock compression 2022-04-30 10:07:42 +02:00
restic Backend: Expose connections parameter 2022-04-23 11:13:08 +02:00
restorer Merge pull request #3683 from MichaelEischer/fix-golangci-lint-warnings 2022-03-29 11:45:10 +02:00
selfupdate Refactor file handing for self-update. 2022-04-09 21:40:33 +02:00
test Add more error handling 2021-01-30 20:19:47 +01:00
textfile Add more error handling 2021-01-30 20:19:47 +01:00
ui golangci-lint: replace deprecated golint with revive 2022-03-28 22:33:17 +02:00
walker Limit number of large tree blobs loaded in parallel by StreamTrees 2022-02-19 12:26:09 +01:00