Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cloud66-oss/starter
/ Filter
Function
Filter
api.go:406–414 ·
view source on GitHub ↗
(vs []string, f func(string) bool)
Source
from the content-addressed store, hash-verified
404
}
405
406
func
Filter(vs []string, f
func
(string) bool) []string {
407
vsf := make([]string, 0)
408
for
_, v :=
range
vs {
409
if
f(v) {
410
vsf = append(vsf, v)
411
}
412
}
413
return
vsf
414
}
Callers
2
StartAPI
Method · 0.85
analyze
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected