Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeDaemonLogFiles (0.17 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
    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

                    }
                }
            }
        }
    }
    
    
    /**
     * Clean up daemon log files produced in integration tests.
     */
    fun FileSystemOperations.removeDaemonLogFiles(dir: Directory) {
        if (dir.asFile.isDirectory) {
            val daemonLogFiles = dir.asFileTree.matching {
                include("**/*.log")
            }
            delete { delete(daemonLogFiles) }
        }
    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