MCPcopy Index your code
hub / github.com/docker/cli / Next

Method Next

cli/compose/interpolation/interpolation.go:134–136  ·  view source on GitHub ↗

Next returns a new path by append part to the current path

(part string)

Source from the content-addressed store, hash-verified

132
133// Next returns a new path by append part to the current path
134func (p Path) Next(part string) Path {
135 return Path(string(p) + pathSeparator + part)
136}
137
138func (p Path) parts() []string {
139 return strings.Split(string(p), pathSeparator)

Callers 5

headersMethod · 0.80
importTarFunction · 0.80
recursiveInterpolateFunction · 0.80

Calls 1

PathTypeAlias · 0.70

Tested by 1

headersMethod · 0.64