()
| 102 | } |
| 103 | |
| 104 | func 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 | |
| 114 | func GetAgentWorkDir(dir string) (string, error) { |
| 115 | if dir == "" { |
no outgoing calls
no test coverage detected