diff --git a/aptly/interfaces.go b/aptly/interfaces.go index a1bac33b..51d26c4e 100644 --- a/aptly/interfaces.go +++ b/aptly/interfaces.go @@ -20,6 +20,8 @@ type PackagePool interface { FilepathList(progress Progress) ([]string, error) // Remove deletes file in package pool returns its size Remove(path string) (size int64, err error) + // Import copies file into package pool + Import(path string, hashMD5 string) error } // PublishedStorage is abstraction of filesystem storing all published repositories