INNER CODE UNIT · Go
getAbsPath
alibaba/loongcollector · tools/builder/main.go:275
func getAbsPath(path string, root string) string {
if filepath.IsAbs(path) {
return path
}
return filepath.Join(root, path)
}
INNER CODE UNIT · Go
alibaba/loongcollector · tools/builder/main.go:275
func getAbsPath(path string, root string) string {
if filepath.IsAbs(path) {
return path
}
return filepath.Join(root, path)
}