- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for isDirectory (0.45 sec)
-
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
} } } } } fun FileSystemOperations.removeCachedScripts(cachesDir: File) { if (cachesDir.isDirectory) { cachesDir.listFiles() .filter { it.isDirectory } .flatMap { scriptsCacheDirsUnder(it) } .forEach { scriptsCacheDir -> logger.lifecycle("Removing scripts cache directory : $scriptsCacheDir")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/http/NetworkExplorer.java
if ( f1.isDirectory() != f2.isDirectory() ) { return f1.isDirectory() ? -1 : 1; } return f1name.compareToIgnoreCase(f2.getName()); } protected int compareSizes ( SmbFile f1, String f1name, SmbFile f2 ) throws IOException { long diff; if ( f1.isDirectory() != f2.isDirectory() ) { return f1.isDirectory() ? -1 : 1;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 21.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
if( f1.isDirectory() != f2.isDirectory() ) { return f1.isDirectory() ? -1 : 1; } return f1name.compareToIgnoreCase( f2.getName() ); } protected int compareSizes( SmbFile f1, String f1name, SmbFile f2 ) throws IOException { long diff; if( f1.isDirectory() != f2.isDirectory() ) { return f1.isDirectory() ? -1 : 1;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Wed Jan 22 03:57:31 UTC 2020 - 19.7K bytes - Viewed (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
val dir = File("..", it.path) assertEquals(it.unitTests, File(dir, "src/test").isDirectory, "${it.name}'s unitTests is wrong!") assertEquals(it.functionalTests, File(dir, "src/integTest").isDirectory, "${it.name}'s functionalTests is wrong!") assertEquals(it.crossVersionTests, File(dir, "src/crossVersionTest").isDirectory, "${it.name}'s crossVersionTests is wrong!") } } @Test
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 13.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/SubprojectsInfo.kt
} private fun generateSubprojectsDirectories(): List<File> { val subprojectRoots = platformsFolder.asFile.listFiles(File::isDirectory).plus(subprojectsFolder.asFile).plus(testingFolder.asFile) return subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten() } private fun generateSubprojects(): List<GradleSubproject> { return generateSubprojectsDirectories()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
Files.createSymbolicLink(symlinkToFile, file); assertTrue(MoreFiles.isDirectory().apply(symlinkToDir)); assertFalse(MoreFiles.isRegularFile().apply(symlinkToDir)); assertFalse(MoreFiles.isDirectory().apply(symlinkToFile)); assertTrue(MoreFiles.isRegularFile().apply(symlinkToFile)); assertFalse(MoreFiles.isDirectory(NOFOLLOW_LINKS).apply(symlinkToDir));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt
.listFiles() ?.associateWith { dir -> val dirPath = dir.toPath() Files.walk(dirPath).use { paths -> paths.filter { !it.toFile().isDirectory } .limit(4) .map { dirPath.relativize(it).toString() } .collect(Collectors.toList()) } }?.filter { it.value.isNotEmpty()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jul 28 16:19:47 UTC 2023 - 12.5K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt
} i++ } if (path == null) { // TODO: send bad request error throw AssertionError() } val file = File(baseDirectory.toString() + path) if (file.isDirectory) { serveDirectory(stream, file.listFiles()!!) } else if (file.exists()) { serveFile(stream, file) } else { send404(stream, path) } } catch (e: IOException) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/FileTransformer.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 7.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/DefaultModelLocator.java
return path != null ? path.toFile() : null; } @Override public Path locateExistingPom(Path project) { if (project == null || Files.isDirectory(project)) { project = locatePom(project); } if (Files.isDirectory(project)) { Path pom = project.resolve("pom.xml"); return Files.isRegularFile(pom) ? pom : null; } else if (Files.isRegularFile(project)) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0)