mirror of https://github.com/restic/restic.git
restic/file: Use FileType for all File constants
The data type of a variable is only carried on when using iota.
This commit is contained in:
parent
9a1b3cb5d9
commit
e2dc5034d3
|
@ -12,11 +12,11 @@ type FileType string
|
|||
// These are the different data types a backend can store.
|
||||
const (
|
||||
PackFile FileType = "data" // use data, as packs are stored under /data in repo
|
||||
KeyFile = "key"
|
||||
LockFile = "lock"
|
||||
SnapshotFile = "snapshot"
|
||||
IndexFile = "index"
|
||||
ConfigFile = "config"
|
||||
KeyFile FileType = "key"
|
||||
LockFile FileType = "lock"
|
||||
SnapshotFile FileType = "snapshot"
|
||||
IndexFile FileType = "index"
|
||||
ConfigFile FileType = "config"
|
||||
)
|
||||
|
||||
// Handle is used to store and access data in a backend.
|
||||
|
|
Loading…
Reference in New Issue