MCPcopy Index your code
hub / github.com/coder/coder / relativePathToAbs

Function relativePathToAbs

agent/agentcontainers/devcontainer.go:85–91  ·  view source on GitHub ↗
(workdir, path string)

Source from the content-addressed store, hash-verified

83}
84
85func relativePathToAbs(workdir, path string) string {
86 path = os.ExpandEnv(path)
87 if !filepath.IsAbs(path) {
88 path = filepath.Join(workdir, path)
89 }
90 return path
91}

Callers 1

expandDevcontainerPathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected