MCPcopy Create free account
hub / github.com/cli/cli / Name

Method Name

pkg/cmd/extension/extension.go:43–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43func (e *Extension) Name() string {
44 return strings.TrimPrefix(filepath.Base(e.path), "gh-")
45}
46
47func (e *Extension) Path() string {
48 return e.path

Callers

nothing calls this directly

Calls 1

BaseMethod · 0.80

Tested by

no test coverage detected