MCPcopy Create free account
hub / github.com/docker/cli / absPath

Function absPath

cli/compose/loader/loader.go:678–683  ·  view source on GitHub ↗
(workingDir string, filePath string)

Source from the content-addressed store, hash-verified

676}
677
678func absPath(workingDir string, filePath string) string {
679 if filepath.IsAbs(filePath) {
680 return filePath
681 }
682 return filepath.Join(workingDir, filePath)
683}
684
685var transformMapStringString TransformerFunc = func(data any) (any, error) {
686 switch value := data.(type) {

Callers 3

resolveEnvironmentFunction · 0.85
resolveVolumePathsFunction · 0.85
loadFileObjectConfigFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…