archiver: refactor summary collection from ui into the archiver

This commit is contained in:
Michael Eischer committed 2024-02-23 20:27:13 +01:00
1 parent 8b1a85711f
commit a59f654fa6
11 files changed
+92 -78

No files matched your search

+1 -1
View File
@@ -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)