MCPcopy Index your code
hub / github.com/cli/cli / isIncluded

Function isIncluded

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

Source from the content-addressed store, hash-verified

628}
629
630func isIncluded(value string, opts []string) bool {
631 for _, opt := range opts {
632 if strings.EqualFold(opt, value) {
633 return true
634 }
635 }
636 return false
637}
638
639func boolToStatus(status bool) *string {
640 var result string

Callers 1

interactiveRepoEditFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected