MCPcopy Index your code
hub / github.com/devspace-sh/devspace / SafeConcatGenerateName

Function SafeConcatGenerateName

pkg/util/encoding/encoding.go:14–16  ·  view source on GitHub ↗
(name ...string)

Source from the content-addressed store, hash-verified

12}
13
14func SafeConcatGenerateName(name ...string) string {
15 return SafeConcatNameMax(name, 53) + "-"
16}
17
18func SafeConcatNameMax(name []string, max int) string {
19 fullPath := strings.Join(name, "-")

Callers

nothing calls this directly

Calls 1

SafeConcatNameMaxFunction · 0.85

Tested by

no test coverage detected