Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
hub
/
github.com/docker/compose
/ Len
Method
Len
pkg/api/api.go:567–569 · pkg/api/api.go::PortPublishers.Len
Len implements sort.Interface
()
Source
from the content-addressed store, hash-verified
565
566
// Len implements sort.Interface
567
func
(p PortPublishers) Len() int {
568
return
len(p)
569
}
570
571
// Less implements sort.Interface
572
func
(p PortPublishers) Less(i, j int) bool {
Callers
9
TestWatchRebuildIgnoresDependencies
Function · 0.80
TestPs
Function · 0.80
TestTraversalWithMultipleParents
Function · 0.80
TestDefaultNetworkSettings
Function · 0.80
TestLoadProject_Basic
Function · 0.80
TestLoadProject_ServiceSelection
Function · 0.80
TestLoadProject_WithProfiles
Function · 0.80
TestComposeService_Logs_ServiceFiltering
Function · 0.80
Print
Function · 0.80
Calls
no outgoing calls
Tested by
8
TestWatchRebuildIgnoresDependencies
Function · 0.64
TestPs
Function · 0.64
TestTraversalWithMultipleParents
Function · 0.64
TestDefaultNetworkSettings
Function · 0.64
TestLoadProject_Basic
Function · 0.64
TestLoadProject_ServiceSelection
Function · 0.64
TestLoadProject_WithProfiles
Function · 0.64
TestComposeService_Logs_ServiceFiltering
Function · 0.64