Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/compose
/ getFlags
Function
getFlags
cmd/cmdtrace/cmd_span.go:142–148 · cmd/cmdtrace/cmd_span.go::getFlags
(fs *flag.FlagSet)
Source
from the content-addressed store, hash-verified
140
}
141
142
func
getFlags(fs *flag.FlagSet) []string {
143
var
result []string
144
fs.Visit(
func
(flag *flag.Flag) {
145
result = append(result, flag.Name)
146
})
147
return
result
148
}
Callers
2
Setup
Function · 0.85
TestGetFlags
Function · 0.85
Calls
no outgoing calls
Tested by
1
TestGetFlags
Function · 0.68