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

Method Elements

pkg/utils/set.go:60–66  ·  pkg/utils/set.go::Set[T].Elements
()

Source from the content-addressed store, hash-verified

58}
59
60func (s Set[T]) Elements() []T {
61 elements := make([]T, 0, len(s))
62 for v := range s {
63 elements = append(elements, v)
64 }
65 return elements
66}
67
68func (s Set[T]) Diff(other Set[T]) Set[T] {
69 out := make(Set[T])

Callers 5

TestSet_DiffFunction · 0.80
LoadAdditionalResourcesFunction · 0.80
getLocalImagesDigestsMethod · 0.80
addBuildDependenciesFunction · 0.80
runUpFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestSet_DiffFunction · 0.64