MCPcopy Index your code
hub / github.com/containers/toolbox / createErrorInvalidRelease

Function createErrorInvalidRelease

src/cmd/utils.go:324–332  ·  view source on GitHub ↗
(hint string)

Source from the content-addressed store, hash-verified

322}
323
324func createErrorInvalidRelease(hint string) error {
325 var builder strings.Builder
326 fmt.Fprintf(&builder, "invalid argument for '--release'\n")
327 fmt.Fprintf(&builder, "%s\n", hint)
328 fmt.Fprintf(&builder, "Run '%s --help' for usage.", executableBase)
329
330 errMsg := builder.String()
331 return errors.New(errMsg)
332}
333
334func createErrorProfileDNotFound() error {
335 const profileD = "/etc/profile.d"

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…