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:
Alexander Neumann committed 2015-03-14 12:06:27 +01:00
1 parent 8156d4481d
commit f69a39cff5
4 files changed
+146 -26

No files matched your search

+5
View File
@@ -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
}