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

Function fullName

scripts/clidocgen/gen.go:78–83  ·  view source on GitHub ↗
(cmd *serpent.Command)

Source from the content-addressed store, hash-verified

76}
77
78func fullName(cmd *serpent.Command) string {
79 if cmd.FullName() == "coder" {
80 return "coder"
81 }
82 return strings.TrimPrefix(cmd.FullName(), "coder ")
83}
84
85func fmtDocFilename(cmd *serpent.Command) string {
86 if cmd.FullName() == "coder" {

Callers 2

fmtDocFilenameFunction · 0.85
mainFunction · 0.85

Calls 1

FullNameMethod · 0.45

Tested by

no test coverage detected