2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 05:12:10 +00:00
restic/cmd/restic
Michael Eischer f5c448aa65 diff: Optimize diff calculation for shared subtrees
When the diff calculation compares two trees with identical id then no
differences between them can ever show up. Optimize for that case by
simply traversing the tree only once to collect all referenced blobs for
a proper calculation of added and removed blobs.

Just skipping the common subtrees is not possible as this would skew the
results if the added or removed blobs are shared with one of the
subtrees.
2020-09-13 16:28:46 +02:00
..
testdata Reduce dataset for integration tests 2018-03-11 21:07:47 +01:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
cleanup.go Replace fmt.Printf/Println/Fprintf with wrapper functions 2020-06-14 11:08:11 +02:00
cmd_backup.go Add flag --iexclude-file to backup 2020-08-28 21:04:41 +02:00
cmd_cache.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_cat.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
cmd_check.go Unify progress bar of check and prune commands 2020-08-25 22:47:38 +02:00
cmd_copy.go copy: Reuse buffer for downloaded blobs 2020-08-29 10:48:44 +02:00
cmd_debug.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
cmd_diff.go diff: Optimize diff calculation for shared subtrees 2020-09-13 16:28:46 +02:00
cmd_dump_test.go dump: Add test for splitPath 2020-08-30 16:00:48 +02:00
cmd_dump.go dump: Mention tar output in command help text 2020-08-31 22:43:10 +02:00
cmd_find.go error variable names should start with 'Err' 2020-09-05 10:07:17 +02:00
cmd_forget.go Delete files in parallel in forget 2020-08-01 20:43:18 +02:00
cmd_generate.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_init.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_key.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_list.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_ls.go Merge pull request #2630 from MichaelEischer/fix-staticcheck 2020-09-13 16:19:22 +02:00
cmd_migrate.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_mount.go cmd/mount: honour --no-lock flag 2020-08-03 19:45:39 +02:00
cmd_options.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_prune.go Unify progress bar of check and prune commands 2020-08-25 22:47:38 +02:00
cmd_rebuild_index.go prune/rebuild-index: Fail if an old index cannot be removed 2020-08-16 11:34:01 +02:00
cmd_recover.go Fix non-intuitive repository behavior 2020-06-11 13:05:23 +02:00
cmd_restore.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_self_update.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_snapshots.go Merge a few variable declaration and initializations 2020-09-05 10:05:34 +02:00
cmd_stats.go Add filter by tag and path to stats command 2020-08-30 17:14:48 +02:00
cmd_tag.go Merge pull request #2581 from aawsome/multiple-hostnames 2020-02-27 08:35:23 +01:00
cmd_unlock.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_version.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
delete.go Adjust comments to match name of exported methods 2020-09-05 10:07:16 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude_test.go Add tests for insensitive variants of filter methods 2018-11-25 13:32:16 +01:00
exclude.go Use !bytes.Equal instead of bytes.Compare !=0 to check for inequality 2020-09-05 10:06:23 +02:00
find.go Fix display of warning about ignored filters 2020-08-30 17:14:56 +02:00
flags_test.go Moves files 2017-07-23 14:19:13 +02:00
format.go Dead code removal 2020-08-04 08:38:57 +02:00
global_debug.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_release.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_test.go Ensure Print{,f,ln} use global stdout 2020-02-15 01:32:43 +01:00
global.go Add copy functionality 2020-08-26 22:17:52 +02:00
integration_fuse_test.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
integration_helpers_test.go Remove a few unused variables 2020-09-05 10:06:23 +02:00
integration_helpers_unix_test.go integration tests: Redirect directory diff into intermediate buffer 2020-08-29 10:48:44 +02:00
integration_helpers_windows_test.go integration tests: Redirect directory diff into intermediate buffer 2020-08-29 10:48:44 +02:00
integration_test.go diff: Add integration test 2020-09-13 16:28:46 +02:00
local_layout_test.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
lock.go Replace fmt.Printf/Println/Fprintf with wrapper functions 2020-06-14 11:08:11 +02:00
main.go Add copy functionality 2020-08-26 22:17:52 +02:00
progress.go Unify progress bar of check and prune commands 2020-08-25 22:47:38 +02:00