Save UID and GID as integer in Snapshot

This commit is contained in:
Alexander Neumann
2014-12-21 17:20:49 +01:00
parent 2fd29dd5f6
commit 5eaa427e80
3 changed files with 23 additions and 8 deletions

View File

@@ -10,7 +10,8 @@ import (
func testSnapshot(t *testing.T, be backend.Server) {
var err error
sn := restic.NewSnapshot("/home/foobar")
sn, err := restic.NewSnapshot("/home/foobar")
ok(t, err)
sn.Tree, err = backend.ParseID("c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2")
ok(t, err)
sn.Time, err = time.Parse(time.RFC3339Nano, "2014-08-03T17:49:05.378595539+02:00")