MCPcopy Create free account
hub / github.com/docker/cli / not

Function not

cli/command/network/disconnect.go:57–62  ·  view source on GitHub ↗
(fn func(container.Summary) bool)

Source from the content-addressed store, hash-verified

55}
56
57func not(fn func(container.Summary) bool) func(container.Summary) bool {
58 return func(ctr container.Summary) bool {
59 ok := fn(ctr)
60 return !ok
61 }
62}

Callers 1

newConnectCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected