- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for filebasename (0.18 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/ArtifactFile.java
private String extension; public ArtifactFile(File file, @Nullable String version) { this(file.getName(), version); } public ArtifactFile(String fileBaseName, @Nullable String version) { name = fileBaseName; extension = ""; classifier = ""; boolean done = false; if (version != null) { int startVersion = StringUtils.lastIndexOf(name, "-" + version);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt
val tempFile = Files.createTempFile(baseDir.toPath(), stateType.fileBaseName, ".tmp") return StateFile(stateType, tempFile.toFile()) } override fun <T> createValueStore(stateType: StateType, writer: ValueStore.Writer<T>, reader: ValueStore.Reader<T>): ValueStore<T> { return DefaultValueStore(baseDir, stateType.fileBaseName, writer, reader) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.2K bytes - Viewed (0) -
src/go/internal/gcimporter/gcimporter_test.go
os.Exit(m.Run()) } // compile runs the compiler on filename, with dirname as the working directory, // and writes the output file to outdirname. // compile gives the resulting package a packagepath of testdata/<filebasename>. func compile(t *testing.T, dirname, filename, outdirname string, packageFiles map[string]string, pkgImports ...string) string { // filename must end with ".go" basename, ok := strings.CutSuffix(filepath.Base(filename), ".go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 16:22:59 UTC 2024 - 21.9K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/OutputDirSelectorUtil.java
*/ public class OutputDirSelectorUtil { public static String fileSafeNameFor(String name) { String fileSafeName = name.trim().replaceAll("[^a-zA-Z0-9.-]", "-").replaceAll("-+", "-"); return (fileSafeName.endsWith("-")) ? fileSafeName.substring(0, fileSafeName.length() - 1) : fileSafeName; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.1K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/DefaultOutputDirSelector.groovy
? fallbackDirectory : new File(debugArtifactsDirectoryPath) } @Override File outputDirFor(String testId) { String fileSafeName = OutputDirSelectorUtil.fileSafeNameFor(testId) return new File(baseOutputDir, shortenPath(fileSafeName, 40)) } private static String shortenPath(String longName, int expectedMaxLength) { if (longName.length() <= expectedMaxLength) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0)