1
0
mirror of https://github.com/restic/restic.git synced 2024-06-30 08:20:55 +02:00
restic/internal
Michael Eischer c206a101a3 archiver: unify FutureTree/File into futureNode
There is no real difference between the FutureTree and FutureFile
structs. However, differentiating both increases the size of the
FutureNode struct.

The FutureNode struct is now only 16 bytes large on 64bit platforms.
That way is has a very low overhead if the corresponding file/directory
was not processed yet.

There is a special case for nodes that were reused from the parent
snapshot, as a go channel seems to have 96 bytes overhead which would
result in a memory usage regression.
2022-07-23 14:45:07 +02:00
..
archiver archiver: unify FutureTree/File into futureNode 2022-07-23 14:45:07 +02:00
backend Merge pull request #3831 from MichaelEischer/move-code 2022-07-23 10:33:05 +02:00
bloblru bloblru: Fix comment for New function 2022-03-28 22:25:25 +02:00
cache crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
checker checker: Fix S3 legacy layout detection 2022-07-23 11:19:32 +02:00
crypto crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
debug redact swift auth token in debug output 2022-07-02 18:47:35 +02:00
dump repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
errors all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
filter Add tests for validating exclude patterns 2022-05-11 22:41:00 +02:00
fs Add simple test for fs.TempFile on windows 2022-04-09 23:37:58 +02:00
fuse repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
hashing hashing: Fix up comments 2022-05-11 21:36:10 +02:00
migrations Fix S3 legacy layout migration 2022-07-23 11:19:32 +02:00
options Don't crash if SecretString is uninitialized 2022-07-02 19:44:28 +02:00
pack backend: extract readerat from restic package 2022-07-17 15:29:09 +02:00
repository Merge pull request #3830 from MichaelEischer/cleanup-repo 2022-07-23 10:46:13 +02:00
restic Merge pull request #3830 from MichaelEischer/cleanup-repo 2022-07-23 10:46:13 +02:00
restorer Merge pull request #3830 from MichaelEischer/cleanup-repo 2022-07-23 10:46:13 +02:00
selfupdate Refactor file handing for self-update. 2022-04-09 21:40:33 +02:00
test all: Move away from pkg/errors, easy cases 2022-06-14 08:36:38 +02:00
textfile Add more error handling 2021-01-30 20:19:47 +01:00
ui archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00
walker repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00