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

Method setInstalled

pkg/cmd/extension/browse/model.go:429–436  ·  view source on GitHub ↗
(fullName string, installed bool)

Source from the content-addressed store, hash-verified

427}
428
429func (m *browseModel) setInstalled(fullName string, installed bool) {
430 for i := range m.entries {
431 if m.entries[i].FullName == fullName {
432 m.entries[i].Installed = installed
433 return
434 }
435 }
436}
437
438func (m *browseModel) setStatus(status string) {
439 m.status = status

Callers 1

UpdateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected