MCPcopy Create free account
hub / github.com/exercism/cli / newStatus

Function newStatus

cmd/troubleshoot.go:103–109  ·  view source on GitHub ↗

newStatus prepares a value to perform a diagnostic self-check.

(cli *cli.CLI, cfg config.Config)

Source from the content-addressed store, hash-verified

101
102// newStatus prepares a value to perform a diagnostic self-check.
103func newStatus(cli *cli.CLI, cfg config.Config) Status {
104 status := Status{
105 cfg: cfg,
106 cli: cli,
107 }
108 return status
109}
110
111// check runs the CLI's diagnostic self-check.
112func (status *Status) check() (string, error) {

Callers 1

troubleshoot.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected