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

Function stringInSlice

pkg/cmd/codespace/create.go:607–614  ·  view source on GitHub ↗
(a string, slice []string)

Source from the content-addressed store, hash-verified

605}
606
607func stringInSlice(a string, slice []string) bool {
608 for _, b := range slice {
609 if b == a {
610 return true
611 }
612 }
613 return false
614}

Callers 1

CreateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected