restic/backend/paths.go

26 lines
405 B
Go
Raw Normal View History

2015-03-28 11:50:23 +01:00
package backend
import "os"
// Default paths for file-based backends (e.g. local)
var Paths = struct {
Data string
Snapshots string
2015-04-26 15:48:35 +02:00
Index string
2015-03-28 11:50:23 +01:00
Locks string
Keys string
Temp string
Config string
2015-03-28 11:50:23 +01:00
}{
"data",
"snapshots",
2015-04-26 15:48:35 +02:00
"index",
2015-03-28 11:50:23 +01:00
"locks",
"keys",
"tmp",
"config",
2015-03-28 11:50:23 +01:00
}
// Default modes for file-based backends
var Modes = struct{ Dir, File os.FileMode }{0700, 0600}