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

Method List

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

Source from the content-addressed store, hash-verified

140}
141
142func (m *Manager) List() []extensions.Extension {
143 exts, _ := m.list(false)
144 r := make([]extensions.Extension, len(exts))
145 for i, ext := range exts {
146 r[i] = ext
147 }
148 return r
149}
150
151func (m *Manager) list(includeMetadata bool) ([]*Extension, error) {
152 dir := m.installDir()

Callers

nothing calls this directly

Calls 1

listMethod · 0.95

Tested by

no test coverage detected