Refactoring: add MD5 to LinkFromPool. #15

This commit is contained in:
Andrey Smirnov committed 2014-07-17 18:04:56 +04:00
1 parent fbf1bc14b7
commit b260b0010a
4 files changed
+5 -5

No files matched your search

+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