1
0

feat: implement container import

This commit is contained in:
2023-06-17 08:45:17 +00:00
parent a6944050cc
commit b1f11af512
2 changed files with 23 additions and 0 deletions

5
cache/cache.go vendored
View File

@ -118,3 +118,8 @@ func PackageURL(dt distro.ID, orig string) (found bool, fileurl string) {
found = true
return
}
func ContainerURL(name string) (path string) {
path, _ = url.JoinPath(URL, "containers", fmt.Sprintf("%s.tar.gz", name))
return
}