MCPcopy 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
138func (p Path) parts() []string {
139 return strings.Split(string(p), pathSeparator)
140}
141
142func (p Path) matches(pattern Path) bool {
143 patternParts := pattern.parts()

Callers 1

matchesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected