mirror of
https://github.com/restic/restic.git
synced 2025-12-02 13:02:48 +00:00
archiver: refactor summary collection from ui into the archiver
This commit is contained in:
@@ -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