mirror of
https://github.com/restic/restic.git
synced 2026-10-29 11:35:42 +00:00
Save UID and GID as integer in Snapshot
This commit is contained in:
1 parent
2fd29dd5f6
commit
5eaa427e80
3 files changed
+23
-8
No files matched your search
+5
-1
@@ -513,7 +513,11 @@ func (arch *Archiver) Snapshot(dir string, t *Tree, parentSnapshot backend.ID) (
|
||||
// reset global stats
|
||||
arch.updateStats = Stats{}
|
||||
|
||||
sn := NewSnapshot(dir)
|
||||
sn, err := NewSnapshot(dir)
|
||||
if err != nil {
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
sn.Parent = parentSnapshot
|
||||
|
||||
blob, err := arch.saveTree(t)
|
||||
|
||||
Reference in new issue
Block a user