Separate out LocalPublishedStorage interface. #15

This commit is contained in:
Andrey Smirnov
2014-07-18 17:44:54 +04:00
parent 7a7bb56557
commit 96e878a2e0
6 changed files with 21 additions and 14 deletions
+3 -2
View File
@@ -14,9 +14,10 @@ type PublishedStorage struct {
rootPath string
}
// Check interface
// Check interfaces
var (
_ aptly.PublishedStorage = (*PublishedStorage)(nil)
_ aptly.PublishedStorage = (*PublishedStorage)(nil)
_ aptly.LocalPublishedStorage = (*PublishedStorage)(nil)
)
// NewPublishedStorage creates new instance of PublishedStorage which specified root