Lines Matching refs:rel
483 rel := Rel(ctx, goBinaryInstallDir.String(), goBinary.InstallPath())
484 return goBinaryInstallDir.Join(ctx, rel)
711 srcPath.basePath.rel = srcPath.path
1002 rel string member
1014 if p.rel != "" {
1015 return p.rel
1024 func (p basePath) withRel(rel string) basePath {
1025 p.path = filepath.Join(p.path, rel)
1026 p.rel = rel
1045 func (p SourcePath) withRel(rel string) SourcePath {
1046 p.basePath = p.basePath.withRel(rel)
1226 func (p OutputPath) withRel(rel string) OutputPath {
1227 p.basePath = p.basePath.withRel(rel)
1228 p.fullPath = filepath.Join(p.fullPath, rel)
1233 p.basePath.rel = filepath.Base(p.basePath.path)
1324 ret.rel = pathtools.ReplaceExtension(p.rel, ext)
1336 ret.rel = filepath.Join(filepath.Dir(p.rel), path)
1394 path.basePath.rel = p
1406 rel := Rel(ctx, subDirFullPath.String(), path.String())
1407 paths[i] = subDirFullPath.join(ctx, rel)
1416 rel := Rel(ctx, subDirFullPath.String(), path.String())
1417 return subDirFullPath.Join(ctx, rel)
1681 func (p InstallPath) withRel(rel string) InstallPath {
1682 p.basePath = p.basePath.withRel(rel)
1797 rel := Rel(ctx, strings.TrimSuffix(path.PartitionDir(), path.partition), path.String())
1798 return "/" + rel
1967 return testPath{basePath{path: p, rel: p}}
2065 rel, isRel := MaybeRel(ctx, basePath, targetPath)
2070 return rel
2076 rel, isRel, err := maybeRelErr(basePath, targetPath)
2080 return rel, isRel
2088 rel, err := filepath.Rel(basePath, targetPath)
2091 } else if rel == ".." || strings.HasPrefix(rel, "../") || strings.HasPrefix(rel, "/") {
2094 return rel, true, nil