wisski-cloud-distillery/env/runtime.go
Tom Wiesing 2a14d93d3c
Implement initial 'wdcli backup_instance' command
This commit performs an initial implementation of the 'backup_instance'
command.
2022-09-08 14:39:04 +02:00

13 lines
375 B
Go

package env
import "path/filepath"
// RuntimeDir returns the path to the runtime directory
func (dis Distillery) RuntimeDir() string {
return filepath.Join(dis.Config.DeployRoot, "runtime")
}
// RuntimeUtilsDir returns the path to the runtime utility dir
func (dis Distillery) RuntimeUtilsDir() string {
return filepath.Join(dis.Config.DeployRoot, "runtime", "utils")
}