mirror of
https://github.com/restic/restic.git
synced 2026-11-06 15:29:21 +00:00
Add ID to repository
This allows identifying a repository regardless if it's accessed over SFTP or locally. Introduced for having a per-repository cache.
This commit is contained in:
1 parent
8156d4481d
commit
f69a39cff5
4 files changed
+146
-26
No files matched your search
@@ -62,6 +62,10 @@ type Locationer interface {
|
||||
Location() string
|
||||
}
|
||||
|
||||
type IDer interface {
|
||||
ID() ID
|
||||
}
|
||||
|
||||
type Backend interface {
|
||||
Lister
|
||||
Getter
|
||||
@@ -69,4 +73,5 @@ type Backend interface {
|
||||
Tester
|
||||
Remover
|
||||
Closer
|
||||
IDer
|
||||
}
|
||||
Reference in new issue
Block a user