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

Method RemoveAll

pkg/utils/set.go:54–58  ·  view source on GitHub ↗
(elements ...T)

Source from the content-addressed store, hash-verified

52}
53
54func (s Set[T]) RemoveAll(elements ...T) {
55 for _, e := range elements {
56 s.Remove(e)
57 }
58}
59
60func (s Set[T]) Elements() []T {
61 elements := make([]T, 0, len(s))

Callers 11

LoadMethod · 0.80
ConvertFunction · 0.80
convertFunction · 0.80
RmMethod · 0.80
TearDownMethod · 0.80
TestGitBranchSwitchFunction · 0.80
TestCopyFunction · 0.80
doTestFunction · 0.80
doBuildImageMethod · 0.80
runUpFunction · 0.80

Calls 1

RemoveMethod · 0.95

Tested by 3

TestGitBranchSwitchFunction · 0.64
TestCopyFunction · 0.64
doTestFunction · 0.64