InstallationCheck reports CAM's version and the host's Go runtime version. Version is the binary's own version string; HostExe is os.Executable() at runtime, but tests may override either field to keep output deterministic.
| 26 | // Version is the binary's own version string; HostExe is os.Executable() at |
| 27 | // runtime, but tests may override either field to keep output deterministic. |
| 28 | type InstallationCheck struct { |
| 29 | Version string |
| 30 | HostExe string |
| 31 | } |
| 32 | |
| 33 | func (c InstallationCheck) Name() string { return "Installation Check" } |
| 34 | func (c InstallationCheck) Run(_ context.Context, r Reporter) Result { |
nothing calls this directly
no outgoing calls
no test coverage detected