MCPcopy Index your code
hub / github.com/cli/cli / List

Method List

pkg/cmd/extension/manager.go:136–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134}
135
136func (m *Manager) List() []extensions.Extension {
137 exts, _ := m.list(false)
138 r := make([]extensions.Extension, len(exts))
139 for i, ext := range exts {
140 r[i] = ext
141 }
142 return r
143}
144
145func (m *Manager) list(includeMetadata bool) ([]*Extension, error) {
146 dir := m.installDir()

Callers

nothing calls this directly

Calls 1

listMethod · 0.95

Tested by

no test coverage detected