INNER CODE UNIT · Go
makePathAbsolute
transcend-io/terragrunt-atlantis-config · cmd/generate.go:43
func makePathAbsolute(path string, parentPath string) string {
if strings.HasPrefix(path, filepath.ToSlash(gitRoot)) {
return path
}
parentDir := filepath.Dir(parentPath)
return filepath.Join(parentDir, path)
}
var requestGroup singleflight.Group
// Set up a cache for the getDependencies function
type getDependenciesOutput struct {
dependencies []string
err error
}
type GetDependenciesCache struct {