MCPcopy Index your code
hub / github.com/coder/coder / fullYamlName

Function fullYamlName

cli/root.go:1838–1846  ·  view source on GitHub ↗
(opt serpent.Option)

Source from the content-addressed store, hash-verified

1836}
1837
1838func fullYamlName(opt serpent.Option) string {
1839 var full strings.Builder
1840 for _, name := range opt.Group.Ancestry() {
1841 _, _ = full.WriteString(name.YAML)
1842 _, _ = full.WriteString(".")
1843 }
1844 _, _ = full.WriteString(opt.YAML)
1845 return full.String()
1846}

Callers 1

translateSourceFunction · 0.85

Calls 2

WriteStringMethod · 0.80
StringMethod · 0.45

Tested by

no test coverage detected