- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for replacePrefix (0.42 sec)
-
src/cmd/go/internal/work/shell.go
// /foo is shorter than ../../.., for example. if reldir := base.ShortPath(dir); reldir != dir { out = replacePrefix(out, dir, reldir) if filepath.Separator == '\\' { // Don't know why, sometimes this comes out with slashes, not backslashes. wdir := strings.ReplaceAll(dir, "\\", "/") out = replacePrefix(out, wdir, reldir) } } dirP := filepath.Dir(dir) if dir == dirP { break }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 19.8K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/DefaultModuleRegistry.java
// See getNameOfJarReplacedByTestDistributionWithoutVersion why we are doing this Optional<String> replacedPrefix = getNameOfJarReplacedByTestDistributionWithoutVersion(jarFileName); replacedPrefix.ifPresent(prefix -> classpathJars.put(prefix, classpathFile)); } } } } /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 18.5K bytes - Viewed (0)