MCPcopy Create free account
hub / github.com/compose-spec/compose-go / InvalidProjectNameErr

Function InvalidProjectNameErr

loader/loader.go:665–670  ·  view source on GitHub ↗
(v string)

Source from the content-addressed store, hash-verified

663}
664
665func InvalidProjectNameErr(v string) error {
666 return fmt.Errorf(
667 "invalid project name %q: must consist only of lowercase alphanumeric characters, hyphens, and underscores as well as start with a letter or number",
668 v,
669 )
670}
671
672// projectName determines the canonical name to use for the project considering
673// the loader Options as well as `name` fields in Compose YAML fields (which

Callers 2

WithNameFunction · 0.92
projectNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…