IsAgentInstalled checks if an agent's CLI binary is on PATH.
(info AgentInfo)
| 87 | |
| 88 | // IsAgentInstalled checks if an agent's CLI binary is on PATH. |
| 89 | func IsAgentInstalled(info AgentInfo) bool { |
| 90 | _, err := exec.LookPath(info.CLIBinary) |
| 91 | return err == nil |
| 92 | } |
| 93 | |
| 94 | // AppPaths describes where a given app stores a kind of entity on disk. All |
| 95 | // paths are user-level; project-level support can be added by callers if |
no outgoing calls
no test coverage detected