mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-06-16 05:55:33 +00:00
13 lines
196 B
Go
13 lines
196 B
Go
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
|
|
}
|