in mpdev/internal/resources/registry.go [122:128]
func (r *registry) ResolveFilePath(rs Resource, path string) (string, error) {
if filepath.IsAbs(path) {
return path, nil
}
return filepath.Abs(filepath.Join(r.dirMap[rs.GetReference()], path))
}