MCPcopy
hub / github.com/docker/compose / Add

Method Add

pkg/utils/set.go:36–38  ·  view source on GitHub ↗
(v T)

Source from the content-addressed store, hash-verified

34}
35
36func (s Set[T]) Add(v T) {
37 s[v] = struct{}{}
38}
39
40func (s Set[T]) AddAll(v ...T) {
41 for _, e := range v {

Callers 15

NewSetFunction · 0.45
LoadAdditionalResourcesFunction · 0.45
ListTransformersFunction · 0.45
CloseMethod · 0.45
addMethod · 0.45
BatchDebounceEventsFunction · 0.45
StartMethod · 0.45
CloseMethod · 0.45
TestDownFunction · 0.45
TestDownRemoveOrphansFunction · 0.45
TestDownRemoveImagesFunction · 0.45

Calls

no outgoing calls

Tested by 14

TestDownFunction · 0.36
TestDownRemoveOrphansFunction · 0.36
TestDownRemoveImagesFunction · 0.36
TestWatch_SyncFunction · 0.36
TestServiceLinksFunction · 0.36
TestPsFunction · 0.36
TestKillAllFunction · 0.36
TestKillSignalFunction · 0.36
projectFilterListOptFunction · 0.36