MCPcopy 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
33func (r *Runtime) GetEnvPath() string {
34 return path.Join(r.GetPath(), ".env")
35}
36
37func (r *Runtime) GetPath() string {
38 return path.Join(global.Dir.RuntimeDir, r.Type, r.Name)

Callers 11

handleAppRecoverFunction · 0.45
unInstallPHPExtensionFunction · 0.45
RestartPHPRuntimeFunction · 0.45
deleteAppInstallFunction · 0.45
buildNginxFunction · 0.45
upgradeInstallFunction · 0.45
upAppFunction · 0.45
OperateNodeModulesMethod · 0.45
InstallPHPExtensionMethod · 0.45
BuildMethod · 0.45
GetModulesMethod · 0.45

Calls 1

GetPathMethod · 0.95

Tested by

no test coverage detected