mirror of
https://github.com/restic/restic.git
synced 2026-11-14 06:44:03 +00:00
Store maps in new subdir "maps"
This commit is contained in:
1 parent
b1923063fe
commit
33ce4e33aa
9 files changed
+57
-12
No files matched your search
+2
-1
@@ -13,7 +13,7 @@ import (
|
||||
type Snapshot struct {
|
||||
Time time.Time `json:"time"`
|
||||
Content backend.ID `json:"content"`
|
||||
BlobList *BlobList `json:"blobs"`
|
||||
Map backend.ID `json:"map"`
|
||||
Dir string `json:"dir"`
|
||||
Hostname string `json:"hostname,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
@@ -21,6 +21,7 @@ type Snapshot struct {
|
||||
GID string `json:"gid,omitempty"`
|
||||
|
||||
id backend.ID // plaintext ID, used during restore
|
||||
bl *BlobList
|
||||
}
|
||||
|
||||
func NewSnapshot(dir string) *Snapshot {
|
||||
|
||||
Reference in new issue
Block a user