mirror of
https://github.com/restic/restic.git
synced 2026-11-03 22:09:21 +00:00
more cleanup
This commit is contained in:
1 parent
7af7c64403
commit
0d9360a815
7 files changed
+18
-33
No files matched your search
+1
-2
@@ -50,8 +50,7 @@ func SetupKey(t testing.TB, s *server.Server, password string) *server.Key {
|
||||
}
|
||||
|
||||
func SnapshotDir(t testing.TB, server *server.Server, path string, parent backend.ID) *restic.Snapshot {
|
||||
arch, err := restic.NewArchiver(server)
|
||||
OK(t, err)
|
||||
arch := restic.NewArchiver(server)
|
||||
sn, _, err := arch.Snapshot(nil, []string{path}, parent)
|
||||
OK(t, err)
|
||||
return sn
|
||||
|
||||
Reference in new issue
Block a user