Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
59
func
(s *stringSet) Contains(value string) bool {
60
_, c := s.m[value]
61
return
c
62
}
63
64
func
(s *stringSet) Len() int {
65
return
len(s.m)
Callers
15
Add
Method · 0.95
Remove
Method · 0.95
isAccessDenied
Function · 0.80
Clone
Method · 0.80
parseRemoteURLOrName
Function · 0.80
HeadRepos
Method · 0.80
setupJsonFlags
Function · 0.80
defaultPromptConfig
Function · 0.80
WaitForOutput
Method · 0.80
formatSpecialQualifiers
Function · 0.80
TestNewCmdCompletion
Function · 0.80
TestList
Function · 0.80
Implementers
1
stringSet
pkg/set/string_set.go
Calls
no outgoing calls
Tested by
15
defaultPromptConfig
Function · 0.64
WaitForOutput
Method · 0.64
TestNewCmdCompletion
Function · 0.64
TestList
Function · 0.64
TestSearch
Function · 0.64
TestListCategories
Function · 0.64
TestGetByNumber
Function · 0.64
TestGetWithComments
Function · 0.64
TestGetCommentReplies
Function · 0.64
TestCreate
Function · 0.64
TestListLabels
Function · 0.64
TestEditDiscussionLabels
Function · 0.64