Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/compose
/ AddAll
Method
AddAll
pkg/utils/set.go:40–44 ·
view source on GitHub ↗
(v ...T)
Source
from the content-addressed store, hash-verified
38
}
39
40
func
(s Set[T]) AddAll(v ...T) {
41
for
_, e :=
range
v {
42
s[e] =
struct
{}{}
43
}
44
}
45
46
func
(s Set[T]) Remove(v T) bool {
47
_, ok := s[v]
Callers
2
LoadAdditionalResources
Function · 0.80
TestWith_RootNodesAndUp
Function · 0.80
Calls
no outgoing calls
Tested by
1
TestWith_RootNodesAndUp
Function · 0.64