MCPcopy
hub / github.com/koderover/zadig / GetStopFilePath

Function GetStopFilePath

pkg/cli/zadig-agent/config/dir.go:104–112  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

102}
103
104func GetStopFilePath() (string, error) {
105 homeDir, err := osutil.GetUserHomeDir()
106 if err != nil {
107 return "", err
108 }
109
110 path := filepath.Join(homeDir, ".zadig-agent/.stop")
111 return path, nil
112}
113
114func GetAgentWorkDir(dir string) (string, error) {
115 if dir == "" {

Callers 2

stopRunFunction · 0.92
checkStopSignalFileFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected