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

Method Contains

pkg/set/string_set.go:59–62  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

57}
58
59func (s *stringSet) Contains(value string) bool {
60 _, c := s.m[value]
61 return c
62}
63
64func (s *stringSet) Len() int {
65 return len(s.m)

Callers 15

AddMethod · 0.95
RemoveMethod · 0.95
isAccessDeniedFunction · 0.80
parseWithNameFunction · 0.80
validateNameFunction · 0.80
setAtPathFunction · 0.80
TestCheckRequestFunction · 0.80
TestCmdSetFunction · 0.80
TestCmdGitFunction · 0.80
isRESTMethod · 0.80
schemaTypeNameFunction · 0.80
closeMatchesFunction · 0.80

Implementers 1

stringSetpkg/set/string_set.go

Calls

no outgoing calls

Tested by 15

TestCheckRequestFunction · 0.64
TestCmdSetFunction · 0.64
TestCmdGitFunction · 0.64
TestCmdExportFunction · 0.64
TestRunAllFunction · 0.64
defaultPromptConfigFunction · 0.64
WaitForOutputMethod · 0.64
TestNewCmdCompletionFunction · 0.64
TestListFunction · 0.64
TestSearchFunction · 0.64