Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/mislav/hub
/ lastValue
Method
lastValue
utils/args_parser.go:19–26 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
}
18
19
func
(f *argsFlag) lastValue() string {
20
l := len(f.values)
21
if
l > 0 {
22
return
f.values[l-1]
23
}
else
{
24
return
""
25
}
26
}
27
28
func
(f *argsFlag) reset() {
29
if
len(f.values) > 0 {
Callers
2
Value
Method · 0.80
Bool
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected