1
0

feat: get container path relative to config dir

This commit is contained in:
2023-05-14 07:24:49 +00:00
parent 93a1b74e34
commit 78626c10af
2 changed files with 5 additions and 15 deletions

View File

@ -66,6 +66,10 @@ func Images() (diis []Image, err error) {
return
}
func ImagePath(sk config.KernelMask) string {
return config.Dir("containers", sk.DistroType.String(), sk.DistroRelease)
}
type Container struct {
name string