MCPcopy
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
40func (s Set[T]) AddAll(v ...T) {
41 for _, e := range v {
42 s[e] = struct{}{}
43 }
44}
45
46func (s Set[T]) Remove(v T) bool {
47 _, ok := s[v]

Callers 2

LoadAdditionalResourcesFunction · 0.80
TestWith_RootNodesAndUpFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestWith_RootNodesAndUpFunction · 0.64