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

Method Remove

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

Source from the content-addressed store, hash-verified

44}
45
46func (s Set[T]) Remove(v T) bool {
47 _, ok := s[v]
48 if ok {
49 delete(s, v)
50 }
51 return ok
52}
53
54func (s Set[T]) RemoveAll(elements ...T) {
55 for _, e := range elements {

Callers 1

RemoveAllMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected