mirror of
https://github.com/restic/restic.git
synced 2026-11-22 05:14:23 +00:00
archiver: refactor summary collection from ui into the archiver
This commit is contained in:
1 parent
8b1a85711f
commit
a59f654fa6
11 files changed
+92
-78
No files matched your search
@@ -78,7 +78,7 @@ func WriteTest(t *testing.T, format string, cd CheckDump) {
|
||||
back := rtest.Chdir(t, tmpdir)
|
||||
defer back()
|
||||
|
||||
sn, _, err := arch.Snapshot(ctx, []string{"."}, archiver.SnapshotOptions{})
|
||||
sn, _, _, err := arch.Snapshot(ctx, []string{"."}, archiver.SnapshotOptions{})
|
||||
rtest.OK(t, err)
|
||||
|
||||
tree, err := restic.LoadTree(ctx, repo, *sn.Tree)
|
||||
|
||||
Reference in new issue
Block a user