Refactoring: add MD5 to LinkFromPool. #15

This commit is contained in:
Andrey Smirnov
2014-07-17 18:04:56 +04:00
parent fbf1bc14b7
commit b260b0010a
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ type PublishedStorage interface {
// Remove removes single file under public path
Remove(path string) error
// LinkFromPool links package file from pool to dist's pool location
LinkFromPool(publishedDirectory string, sourcePool PackagePool, sourcePath string) error
LinkFromPool(publishedDirectory string, sourcePool PackagePool, sourcePath, sourceMD5 string) error
// Filelist returns list of files under prefix
Filelist(prefix string) ([]string, error)
// RenameFile renames (moves) file