Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
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
parseWithName
Function · 0.80
validateName
Function · 0.80
setAtPath
Function · 0.80
TestCheckRequest
Function · 0.80
TestCmdSet
Function · 0.80
TestCmdGit
Function · 0.80
isREST
Method · 0.80
schemaTypeName
Function · 0.80
closeMatches
Function · 0.80
Implementers
1
stringSet
pkg/set/string_set.go
Calls
no outgoing calls
Tested by
15
TestCheckRequest
Function · 0.64
TestCmdSet
Function · 0.64
TestCmdGit
Function · 0.64
TestCmdExport
Function · 0.64
TestRunAll
Function · 0.64
TestClientConfigPropagatesGitError
Function · 0.64
TestClientCommitsReportsInvalidRef
Function · 0.64
defaultPromptConfig
Function · 0.64
WaitForOutput
Method · 0.64
TestNewCmdCompletion
Function · 0.64
TestList
Function · 0.64
TestSearch
Function · 0.64