MCPcopy
hub / github.com/redspread/spread / displayContext

Function displayContext

cli/deploy.go:198–203  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

196}
197
198func displayContext(name string) string {
199 if name == deploy.DefaultContext {
200 return "default context"
201 }
202 return fmt.Sprintf("context '%s'", name)
203}
204
205var (
206 ErrNothingDeployable = errors.New("there is nothing deployable")

Callers 2

BuildMethod · 0.85
DeployMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected