- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 330 for toPaths (0.13 sec)
-
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/PerformanceTestRuntimesGenerator.java
}) .collect(Collectors.toList()); new ObjectMapper().writerWithDefaultPrettyPrinter() .writeValue(runtimesFile, json); Files.write(runtimesFile.toPath(), "\n".getBytes(StandardCharsets.UTF_8), StandardOpenOption.APPEND); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.2K 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) -
subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/BuildSessionScopeFileTimeStampInspectorTest.groovy
// File.lastModified() and Files.getLastModifiedTime() uses different resolution on some JDKs < 11 def markerFileTimestamp = Math.min(markerFile.lastModified(), Files.getLastModifiedTime(markerFile.toPath()).toMillis()) when: def lastBuildTimestamp = timestampInspector.lastBuildTimestamp then: lastBuildTimestamp > 0 lastBuildTimestamp == markerFileTimestamp }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 22 17:24:44 UTC 2021 - 3.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java
if (!baseDir.exists()) { return 0; } try { final FilePurgeVisitor visitor = new FilePurgeVisitor(baseDir.toPath(), imageExtention, expiry); Files.walkFileTree(baseDir.toPath(), visitor); return visitor.getCount(); } catch (final Exception e) { throw new JobProcessingException(e); } }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 21.5K 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) -
maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java
public Metadata read(File input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); return read(Files.newInputStream(input.toPath()), options); } public Metadata read(Reader input, Map<String, ?> options) throws IOException { Objects.requireNonNull(input, "input cannot be null"); try (Reader in = input) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.9K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/CachingJvmMetadataDetectorTest.groovy
) def detector = new CachingJvmMetadataDetector(metaDataDetector) File javaHome1 = Jvm.current().javaHome def link = new TestFile(Files.createTempDirectory(temporaryFolder.toPath(), null).toFile(), "jdklink") link.createLink(javaHome1) when: def metadata1 = detector.getMetadata(testLocation(link.absolutePath)) link.createLink(new File("doesntExist"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 18:25:34 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/software/plugins-version-catalog/src/integTest/groovy/org/gradle/api/plugins/catalog/internal/TomlWriterTest.groovy
exception.message.contains("In file '") exception.message.contains("wrong.toml'") } private Model generateFromModel(Model sourceModel) { def tomlFile = Files.createTempFile(tempTomlDir.toPath(), "test-", ".toml") def writer = Files.newBufferedWriter(tomlFile) writer.withCloseable { def tomlWriter = new TomlWriter(it) tomlWriter.generate(sourceModel.deps) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 07 08:24:10 UTC 2023 - 3.8K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/sessionBuilderTestUtils.kt
internal fun compileCommonKlib(kLibSourcesRoot: Path): Path { val ktFiles = Files.walk(kLibSourcesRoot).asSequence().filter { it.extension == "kt" }.toList() val testKlib = KtTestUtil.tmpDir("testLibrary").resolve("library.klib").toPath() val arguments = buildList { ktFiles.mapTo(this) { it.absolutePathString() } add("-d") add(testKlib.absolutePathString()) } MockLibraryUtil.runMetadataCompiler(arguments)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 3.9K bytes - Viewed (0) -
maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/VersionsMetadata.java
return artifact.getGroupId() + ':' + artifact.getArtifactId(); } @Deprecated @Override public MavenMetadata setFile(File file) { return new VersionsMetadata(artifact, file.toPath(), timestamp); } @Override public MavenMetadata setPath(Path path) { return new VersionsMetadata(artifact, 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 - 4.2K bytes - Viewed (0)