mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-22 11:08:20 +00:00
Importing files into pool: interface.
This commit is contained in:
1 parent
65c790b6cf
commit
4277f09e2a
1 file changed
+2
@@ -20,6 +20,8 @@ type PackagePool interface {
|
|||||||
FilepathList(progress Progress) ([]string, error)
|
FilepathList(progress Progress) ([]string, error)
|
||||||
// Remove deletes file in package pool returns its size
|
// Remove deletes file in package pool returns its size
|
||||||
Remove(path string) (size int64, err error)
|
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
|
// PublishedStorage is abstraction of filesystem storing all published repositories
|
||||||
|
|||||||
Reference in new issue
Block a user