You've already forked CasaOS
mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-07-12 23:50:14 +02: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
|
||
|
}
|