mirror of
https://github.com/restic/restic.git
synced 2026-11-14 06:44:03 +00:00
Rename snapshot.Content -> snapshot.Tree
This commit is contained in:
1 parent
73be0d5b18
commit
202984a93f
6 files changed
+9
-9
No files matched your search
+1
-1
@@ -11,7 +11,7 @@ import (
|
||||
func testSnapshot(t *testing.T, be backend.Server) {
|
||||
var err error
|
||||
sn := restic.NewSnapshot("/home/foobar")
|
||||
sn.Content, err = backend.ParseID("c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2")
|
||||
sn.Tree, err = backend.ParseID("c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2")
|
||||
ok(t, err)
|
||||
sn.Time, err = time.Parse(time.RFC3339Nano, "2014-08-03T17:49:05.378595539+02:00")
|
||||
ok(t, err)
|
||||
|
||||
Reference in new issue
Block a user