MCPcopy Create free account
hub / github.com/docker/compose / Swap

Method Swap

pkg/api/api.go:588–590  ·  view source on GitHub ↗

Swap implements sort.Interface

(i, j int)

Source from the content-addressed store, hash-verified

586
587// Swap implements sort.Interface
588func (p PortPublishers) Swap(i, j int) {
589 p[i], p[j] = p[j], p[i]
590}
591
592// ContainerProcSummary holds container processes top data
593type ContainerProcSummary struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected