Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1Panel-dev/1Panel
/ GetEnvPath
Method
GetEnvPath
agent/app/model/runtime.go:33–35 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
}
32
33
func
(r *Runtime) GetEnvPath() string {
34
return
path.Join(r.GetPath(),
".env"
)
35
}
36
37
func
(r *Runtime) GetPath() string {
38
return
path.Join(global.Dir.RuntimeDir, r.Type, r.Name)
Callers
11
handleAppRecover
Function · 0.45
unInstallPHPExtension
Function · 0.45
RestartPHPRuntime
Function · 0.45
deleteAppInstall
Function · 0.45
buildNginx
Function · 0.45
upgradeInstall
Function · 0.45
upApp
Function · 0.45
OperateNodeModules
Method · 0.45
InstallPHPExtension
Method · 0.45
Build
Method · 0.45
GetModules
Method · 0.45
Calls
1
GetPath
Method · 0.95
Tested by
no test coverage detected