- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for touchFile (0.04 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
} private void writeLastUpdated(File touchfile, String key, String error) { synchronized (touchfile.getAbsolutePath().intern()) { if (!touchfile.getParentFile().exists() && !touchfile.getParentFile().mkdirs()) { getLogger() .debug("Failed to create directory: " + touchfile.getParent()
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
File file = new File(localRepository.getBasedir(), localRepository.pathOf(a)); file.delete(); a.setFile(file); File touchFile = updateCheckManager.getTouchfile(a); touchFile.delete(); assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository)); file.getParentFile().mkdirs(); file.createNewFile();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.7K bytes - Viewed (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
} private fun touchFile(path: Path) { Files.createDirectories(path.parent) Files.write(path, byteArrayOf()) } private fun someClasses(): Sequence<Path> { val directory = projectDir.resolve("classes") touchFile(directory.resolve("com/acme/Foo.class")) touchFile(directory.resolve("com/acme/internal/FooInternal.class"))
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 19:14:16 UTC 2024 - 5K bytes - Viewed (0)