1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-12 23:50:14 +02:00
Files
CasaOS/pkg/docker/volumes.go

13 lines
196 B
Go
Raw Normal View History

2021-09-26 10:35:02 +08:00
package docker
func GetDir(id, envName string) string {
var path string
switch envName {
case "/config":
path = "/oasis/app_data/" + id + "/"
default:
//path = "/media"
}
return path
}