fn findPrefixPath(cache: *const Cache, path: Path) !PrefixedPath
fn findPrefixPath(cache: *const Cache, path: Path) !PrefixedPath { const gpa = cache.gpa; const resolved_path = try std.fs.path.resolve(gpa, &.{ cache.cwd, path.root_dir.path orelse ".", path.subPathOrDot(), }); errdefer gpa.free(resolved_path); return findPrefixResolved(cache, resolved_path); }