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

Function NewPath

cli/compose/interpolation/interpolation.go:129–131  ·  view source on GitHub ↗

NewPath returns a new Path

(items ...string)

Source from the content-addressed store, hash-verified

127
128// NewPath returns a new Path
129func NewPath(items ...string) Path {
130 return Path(strings.Join(items, pathSeparator))
131}
132
133// Next returns a new path by append part to the current path
134func (p Path) Next(part string) Path {

Callers 3

TestInterpolateWithCastFunction · 0.85
TestPathMatchesFunction · 0.85
InterpolateFunction · 0.85

Calls 1

PathTypeAlias · 0.70

Tested by 2

TestInterpolateWithCastFunction · 0.68
TestPathMatchesFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…