From 4277f09e2a41483fa47723af7248d3ff35f2bf7a Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Mon, 24 Feb 2014 23:45:32 +0400 Subject: [PATCH] Importing files into pool: interface. --- aptly/interfaces.go | 2 ++ 1 file changed, 2 insertions(+) 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