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

Function isIncluded

pkg/cmd/repo/edit/edit.go:637–644  ·  view source on GitHub ↗
(value string, opts []string)

Source from the content-addressed store, hash-verified

635}
636
637func isIncluded(value string, opts []string) bool {
638 for _, opt := range opts {
639 if strings.EqualFold(opt, value) {
640 return true
641 }
642 }
643 return false
644}
645
646func boolToStatus(status bool) *string {
647 var result string

Callers 1

interactiveRepoEditFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected