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

Function createErrorInvalidDistro

src/cmd/utils.go:293–301  ·  view source on GitHub ↗
(distro string)

Source from the content-addressed store, hash-verified

291}
292
293func createErrorInvalidDistro(distro string) error {
294 var builder strings.Builder
295 fmt.Fprintf(&builder, "invalid argument for '--distro'\n")
296 fmt.Fprintf(&builder, "Distribution %s is unsupported.\n", distro)
297 fmt.Fprintf(&builder, "Run '%s --help' for usage.", executableBase)
298
299 errMsg := builder.String()
300 return errors.New(errMsg)
301}
302
303func createErrorInvalidImageForContainerName(container string) error {
304 var builder strings.Builder

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…