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

Function isIncluded

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

Source from the content-addressed store, hash-verified

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

Callers 1

interactiveRepoEditFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected