MCPcopy
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
CloneMethod · 0.80
parseRemoteURLOrNameFunction · 0.80
HeadReposMethod · 0.80
setupJsonFlagsFunction · 0.80
defaultPromptConfigFunction · 0.80
WaitForOutputMethod · 0.80
formatSpecialQualifiersFunction · 0.80
TestNewCmdCompletionFunction · 0.80
TestListFunction · 0.80

Implementers 1

stringSetpkg/set/string_set.go

Calls

no outgoing calls

Tested by 15

defaultPromptConfigFunction · 0.64
WaitForOutputMethod · 0.64
TestNewCmdCompletionFunction · 0.64
TestListFunction · 0.64
TestSearchFunction · 0.64
TestListCategoriesFunction · 0.64
TestGetByNumberFunction · 0.64
TestGetWithCommentsFunction · 0.64
TestGetCommentRepliesFunction · 0.64
TestCreateFunction · 0.64
TestListLabelsFunction · 0.64
TestEditDiscussionLabelsFunction · 0.64