- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 180 for tophash (0.21 sec)
-
subprojects/core/src/testFixtures/groovy/org/gradle/process/ShellScript.groovy
// and assumes that having "/" as a separator in Windows path is fine. It isn't. Path basePath = baseDir.absoluteFile.toPath() Path scriptPath = scriptFile.absoluteFile.toPath() return basePath.relativize(scriptPath).toString() } private static class WindowsScript extends ShellScript { private WindowsScript(TestFile scriptFile) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 12 10:33:12 UTC 2024 - 8.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/build_trimpath.txt
if dir == "" { fmt.Printf("binary contains an empty %s\n", desc) return } containsDir := bytes.Contains(data, []byte(dir)) containsSlashDir := bytes.Contains(data, []byte(filepath.ToSlash(dir))) fmt.Printf("binary contains %s: %v\n", desc, containsDir || containsSlashDir) } -- overlay.json -- { "Replace": { "overlaydir/paths.go": "paths.go" } } -- go.mod -- module paths
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 4.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheSkipCacheIntegrationTest.groovy
// use an undeclared input so we can test --refresh-dependencies // URL.text is not tracked for now; we'll have to change it once we start to track it message.set(file("message").toPath().toUri().toURL().text) } """ file("message") << "foo" when: configurationCacheRun "myTask" then: outputContains("foo")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/jvm/plugins-groovy/src/main/java/org/gradle/api/internal/plugins/GroovyJarFile.java
@Nullable public static GroovyJarFile parse(File file) { try { if (file.getName().contains("groovy")) { // Resolve a symlink file to the real location file = file.toPath().toRealPath().toFile(); } } catch (IOException e) { // Let the code use the original File otherwise } Matcher matcher = FILE_NAME_PATTERN.matcher(file.getName());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 19:14:26 UTC 2024 - 2.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheReport.kt
require(reportDir.mkdirs()) { "Could not create configuration cache report directory '$reportDir'" } Files.move(spoolFile.toPath(), reportFile.toPath()) } return reportFile } private fun reportHash() = hashingStream.hash().toCompactString() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestTaskToolchainIntegrationTest.groovy
dependencies { testImplementation 'junit:junit:4.13' } test { executable = new File(".").getCanonicalFile().toPath().relativize(new File("${executable}").toPath()).toString() } """ when: executer.expectDocumentedDeprecationWarning("Configuring a Java executable via a relative path. " +
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 06:04:19 UTC 2024 - 9.7K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
String parentContent = new String(Files.readAllBytes(parent.toPath()), StandardCharsets.UTF_8); parentContent = parentContent.replace( "<packaging>pom</packaging>", "<packaging>pom</packaging><properties><addedProperty>addedValue</addedProperty></properties>"); Files.write(parent.toPath(), parentContent.getBytes(StandardCharsets.UTF_8)); // re-build pom with modified parent
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 09:06:12 UTC 2024 - 18.3K bytes - Viewed (0) -
platforms/core-runtime/file-temp/src/main/java/org/gradle/api/internal/file/temp/DefaultTemporaryFileProvider.java
if (i > 0) { pathBuilder.append("/"); } pathBuilder.append(path[i]); } return new File(baseDirFactory.create(), pathBuilder.toString()).toPath().normalize().toFile(); } @Override public File newTemporaryDirectory(String... path) { File dir = newTemporaryFile(path); forceMkdir(dir); return dir; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 19 21:16:13 UTC 2024 - 3.4K bytes - Viewed (0) -
maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadata.java
metadata.setVersioning(recessive.getVersioning()); } } @Deprecated @Override public MavenMetadata setFile(File file) { return new PluginsMetadata(pluginInfo, file.toPath(), timestamp); } @Override public MavenMetadata setPath(Path path) { return new PluginsMetadata(pluginInfo, path, timestamp); } @Override public String getGroupId() {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 10:10:21 UTC 2024 - 3.7K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/impl/DefaultDeleter.java
return FileDeletionResult.withoutException(Files.deleteIfExists(file.toPath())); } catch (IOException original) { // Let's try again after making it writable, as this is needed on Windows in some cases if (file.setWritable(true)) { try { return FileDeletionResult.withoutException(Files.deleteIfExists(file.toPath())); } catch (IOException ignored) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 15 17:10:06 UTC 2024 - 12.9K bytes - Viewed (0)