- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 330 for toPaths (0.1 sec)
-
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/nio/ModificationTimeFileAccessTimeJournal.java
@Override public void setLastAccessTime(File file, long millis) { try { Files.setLastModifiedTime(file.toPath(), FileTime.fromMillis(millis)); } catch (IOException e) { LOGGER.debug("Ignoring failure to set last access time of " + file, e); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:57 UTC 2024 - 1.6K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/internal/changedetection/state/UpToDateIntegTest.groovy
inputFile.text = "input" when: run "customTask" then: executedAndNotSkipped(":customTask") when: Files.move(inputFile.toPath(), inputDir2.file(inputFileName).toPath()) run "customTask" then: skipped(":customTask") when: inputDir2.file(inputFileName).text = "changed" run "customTask" then:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 13 12:00:09 UTC 2022 - 9.6K bytes - Viewed (0) -
platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/BuildInitPluginIntegrationTest.groovy
then: result.assertTasksExecuted(":init") result.assertHasErrorOutput("Aborting build initialization due to existing files in the project directory: '${existingDslFixture.rootDir.toPath()}'.") and: !targetDslFixture.settingsFile.exists() targetDslFixture.assertWrapperFilesNotGenerated() where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 13:39:44 UTC 2024 - 17.2K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DirectoryFileTree.java
RelativePath path = new RelativePath(true, file.getName()); FileVisitDetails details = AttributeBasedFileVisitDetailsFactory.getRootFileVisitDetails(file.toPath(), path, stopFlag, fileSystem); if (isAllowed(details, spec)) { visitor.visitFile(details); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 15 21:33:45 UTC 2024 - 6.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentCache.java
this.data = null; this.file = file; } @Override public void close() throws IOException { if (file != null) { Files.delete(file.toPath()); } } public InputStream getInputStream() throws IOException { if (file != null) { return new FileInputStream(file); } return new ByteArrayInputStream(data);
Registered: Wed Jun 12 08:29:43 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/io/ContentOutputStream.java
} finally { if (!isInMemory() && !done) { final File file = super.getFile(); if (file != null) { try { Files.deleteIfExists(file.toPath()); } catch (final IOException e) { logger.warning(e.getLocalizedMessage()); } } } } }
Registered: Wed Jun 12 08:29:43 UTC 2024 - Last Modified: Mon Nov 14 21:05:19 UTC 2022 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/services/NativePlatformBackedFileMetadataAccessorTest.groovy
} private static long lastModifiedViaJavaNio(File file) { return java.nio.file.Files.getFileAttributeView(file.toPath(), BasicFileAttributeView, LinkOption.NOFOLLOW_LINKS).readAttributes().lastModifiedTime().toMillis() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-unzip/kotlin/build.gradle.kts
} if (entry.isDirectory) { output.mkdirs() } else { output.parentFile.mkdirs() zip.getInputStream(entry).use { Files.copy(it, output.toPath()) } } // tag::artifact-transform-unzip[] } } // end::artifact-transform-unzip[] val usage = Attribute.of("usage", String::class.java) // tag::artifact-transform-registration[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonLogFileUtils.java
* @return the tail of the log or a special {@code "<<empty>>"} string if the log is empty */ static String tail(File file, int tailSize) throws IOException { try (Stream<String> lines = Files.lines(file.toPath(), StandardCharsets.UTF_8)) { EvictingQueue<String> tailLines = lines.collect(Collectors.toCollection(() -> EvictingQueue.create(tailSize)));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 10:50:51 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/main/java/org/gradle/internal/installation/GradleInstallation.java
} public File getGradleHome() { return dir; } public List<File> getLibDirs() { return libDirs; } public File getSrcDir() { return dir.toPath().resolve("src").toFile(); } private static List<File> findLibDirs(File dir) { List<File> libDirAndSubdirs = new ArrayList<File>(); collectWithSubdirectories(new File(dir, "lib"), libDirAndSubdirs);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 2K bytes - Viewed (0)