Add baseName to LinkFromPool as explicit argument

This commit is contained in:
Andrey Smirnov committed 2017-04-26 23:17:04 +03:00
1 parent 0bc3f71d27
commit 3ce8227122
8 files changed
+24 -27

No files matched your search

+1 -1
View File
@@ -68,7 +68,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, sourceChecksums utils.ChecksumInfo, force bool) error
LinkFromPool(publishedDirectory, baseName string, sourcePool PackagePool, sourcePath string, sourceChecksums utils.ChecksumInfo, force bool) error
// Filelist returns list of files under prefix
Filelist(prefix string) ([]string, error)
// RenameFile renames (moves) file