Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/docker/cli
/ parts
Method
parts
cli/compose/interpolation/interpolation.go:138–140 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
136
}
137
138
func
(p Path) parts() []string {
139
return
strings.Split(string(p), pathSeparator)
140
}
141
142
func
(p Path) matches(pattern Path) bool {
143
patternParts := pattern.parts()
Callers
1
matches
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected