- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for listFiles (0.1 sec)
-
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
fun FileSystemOperations.removeOldVersionsFromDir(dir: Directory, shouldDelete: Spec<GradleVersion>, dirPrefix: String = "", dirSuffix: String = "") { if (dir.asFile.isDirectory) { for (cacheDir in dir.asFile.listFiles()) { val cacheDirName = cacheDir.name if (!cacheDirName.startsWith(dirPrefix) || !cacheDirName.endsWith(dirSuffix)) { continue }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 4.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
Path dir = fs.getPath("dir"); assertEquals(6, MoreFiles.listFiles(dir).size()); method.delete(dir); method.assertDeleteSucceeded(dir); assertEquals( "contents of /dontdelete deleted by delete method " + method, 3, MoreFiles.listFiles(fs.getPath("/dontdelete")).size()); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 16:07:00 UTC 2024 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
Path dir = fs.getPath("dir"); assertEquals(6, MoreFiles.listFiles(dir).size()); method.delete(dir); method.assertDeleteSucceeded(dir); assertEquals( "contents of /dontdelete deleted by delete method " + method, 3, MoreFiles.listFiles(fs.getPath("/dontdelete")).size()); } } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0) -
.teamcity/src/test/kotlin/CIConfigIntegrationTests.kt
val subprojectRoots = File("../platforms").listFiles(File::isDirectory).plus(File("../subprojects")) val subProjectFolders = subprojectRoots.map { it.listFiles(File::isDirectory).asList() }.flatten().filter { dir -> // filter out the directories that have only a `build` subdirectory - this usually happens after branch switching dir.listFiles { _: File, name: String -> name != "build" }!!.isNotEmpty() }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Jul 18 07:02:47 UTC 2024 - 13.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
return new File[0]; } final File libDir = new File(libPath); if (!libDir.exists()) { return new File[0]; } return libDir.listFiles((file, name) -> name.startsWith(namePrefix)); } public static File[] getPluginJarFiles(final String namePrefix) { return getPluginJarFiles((file, name) -> name.startsWith(namePrefix)); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 24 08:52:32 UTC 2024 - 7.5K bytes - Viewed (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt
if (hasCleaned) { return } logger.lifecycle("Cleaning up caches...") val homeDir = parameters.homeDir.get() homeDir.asFile.listFiles()?.filter { it.name.startsWith("distributions-") }?.forEach { val workerDir = homeDir.dir(it.name) cleanupDistributionCaches(workerDir, GradleVersion.version(parameters.gradleVersion.get()))
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 4.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java
final List<File> fileList = new ArrayList<>( FileUtils.listFiles(new File(baseDir, "images"), fessConfig.getSupportedUploadedMediaExtentionsAsArray(), true)); fileList.addAll(FileUtils.listFiles(new File(baseDir, "css"), fessConfig.getSupportedUploadedCssExtentionsAsArray(), true)); fileList.addAll(FileUtils.listFiles(new File(baseDir, "js"), fessConfig.getSupportedUploadedJsExtentionsAsArray(), true));
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 16.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/CleanAcceptedApiChanges.groovy
@InputDirectory abstract DirectoryProperty getJsonFileDirectory() @TaskAction void clean() { def jsonFileManager = new AcceptedApiChangesJsonFileManager() jsonFileDirectory.asFile.get().listFiles() ?.findAll { it.name.endsWith(".json") } ?.each { jsonFileManager.emptyAcceptedApiChanges(it) } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Jun 05 08:27:29 UTC 2024 - 1.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
abstract val apiChangesDirectory: DirectoryProperty protected fun loadChanges(): Map<File, List<AcceptedApiChange>> { return apiChangesDirectory.get().asFile.listFiles() ?.filter { it.name.endsWith(".json") }?.associate { it to it.readAcceptedChanges() }?.filterValues { it.acceptedApiChanges != null
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 2.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java
final Set<RequestData> requestDataSet = new HashSet<>(); if (includeContent) { try { final FTPFile[] files = client.listFiles(ftpInfo.getParent(), FTPFileFilters.NON_NULL); validateRequest(client); for (final FTPFile f : files) {
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Sat Oct 12 01:41:37 UTC 2024 - 25.7K bytes - Viewed (0)