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

Function isIncluded

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

Source from the content-addressed store, hash-verified

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

Callers 1

interactiveRepoEditFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected