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

View File

@@ -78,7 +78,7 @@ func (storage *PublishedStorage) RemoveDirs(path string, progress aptly.Progress
// sourcePath is filepath to package file in package pool
//
// LinkFromPool returns relative path for the published file to be included in package index
func (storage *PublishedStorage) LinkFromPool(publishedDirectory string, sourcePool aptly.PackagePool, sourcePath string) error {
func (storage *PublishedStorage) LinkFromPool(publishedDirectory string, sourcePool aptly.PackagePool, sourcePath, sourceMD5 string) error {
// verify that package pool is local pool is filesystem pool
_ = sourcePool.(*PackagePool)