- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for removeOldVersionsFromDir (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt
fileSystemOperations.removeTransformDir(File(testKitTmpDir, "caches")) fileSystemOperations.removeOldVersionsFromDir(workerDir.dir("daemon"), expireDistributionCache) // Remove old distributions used by wrapper that we're unlikely to ever require again fileSystemOperations.removeOldVersionsFromDir(workerDir.dir("wrapper/dists"), expireDistributionCache, "gradle-", "-bin") fileSystemOperations.delete {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.2K bytes - Click Count (1) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt
/** * Removes state for versions that we're unlikely to ever need again, such as old snapshot versions. */ @Suppress("LoopWithTooManyJumpStatements") fun FileSystemOperations.removeOldVersionsFromDir(dir: Directory, shouldDelete: Spec<GradleVersion>, dirPrefix: String = "", dirSuffix: String = "") { if (dir.asFile.isDirectory) { for (cacheDir in dir.asFile.listFiles()) {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Jun 28 08:29:28 GMT 2024 - 4.4K bytes - Click Count (0)