- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for listFiles (0.13 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 }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 4.4K bytes - Viewed (0)