Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mislav/hub
/ HasReceived
Method
HasReceived
utils/args_parser.go:181–184 ·
view source on GitHub ↗
(name string)
Source
from the content-addressed store, hash-verified
179
}
180
181
func
(p *ArgsParser) HasReceived(name string) bool {
182
f, found := p.flagMap[name]
183
return
found && len(f.values) > 0
184
}
185
186
func
NewArgsParser() *ArgsParser {
187
return
&ArgsParser{
Callers
15
TestArgsParser
Function · 0.95
TestArgsParser_RepeatedInvocation
Function · 0.95
TestArgsParser_Bool
Function · 0.95
TestArgsParser_BoolValue
Function · 0.95
TestArgsParser_Int
Function · 0.95
listReleases
Function · 0.80
showRelease
Function · 0.80
downloadRelease
Function · 0.80
createRelease
Function · 0.80
editRelease
Function · 0.80
apiCommand
Function · 0.80
listPulls
Function · 0.80
Calls
no outgoing calls
Tested by
5
TestArgsParser
Function · 0.76
TestArgsParser_RepeatedInvocation
Function · 0.76
TestArgsParser_Bool
Function · 0.76
TestArgsParser_BoolValue
Function · 0.76
TestArgsParser_Int
Function · 0.76