- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for listFiles (0.06 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) -
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> {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.9K 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) -
samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt
"$prefix/samples/guide/src/main/java/okhttp3/recipes", "$prefix/samples/guide/src/main/java/okhttp3/recipes/kt", ).map { File(it) } return directories.flatMap { it.listFiles().orEmpty().filter { f -> f.isFile }.toList() } } internal class MainTestProvider : SimpleProvider() { override fun arguments(): List<Any> { val mainFiles = mainFiles() return mainFiles.map {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0)