Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeDodgyCacheFiles (0.09 sec)

  1. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

     * limitations under the License.
     */
    
    package gradlebuild.cleanup.services
    
    import gradlebuild.cleanup.removeCachedScripts
    import gradlebuild.cleanup.removeDaemonLogFiles
    import gradlebuild.cleanup.removeDodgyCacheFiles
    import gradlebuild.cleanup.removeOldVersionsFromDir
    import gradlebuild.cleanup.removeTransformDir
    import org.gradle.api.file.Directory
    import org.gradle.api.file.DirectoryProperty
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

            .map { File(cacheDir, it) }
            .filter { it.isDirectory }
    
    
    /**
     * Clean up cache files for older versions that aren't multi-process safe.
     */
    fun FileSystemOperations.removeDodgyCacheFiles(dir: Directory) {
        if (dir.asFile.isDirectory) {
            for (cacheDir in dir.asFile.listFiles()) {
                if (!cacheDir.name.matches(dirVersionPattern)) {
                    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)
Back to top