Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for existsBuildCacheEntry (0.19 sec)

  1. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/AbstractBuildCacheCleanupIntegrationTest.groovy

            run()
    
            then:
            existsBuildCacheEntry("0" * hashStringLength)
            existsBuildCacheEntry("1" * hashStringLength)
            assertCacheWasNotCleanedUpSince(lastCleanupCheck)
    
            when:
            lastCleanupCheck = markCacheLastCleaned(twoDaysAgo())
            executer.noDeprecationChecks()
            run()
    
            then:
            existsBuildCacheEntry("0" * hashStringLength)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:53:17 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache-local/src/integTest/groovy/org/gradle/caching/local/internal/DirectoryBuildCacheCleanupIntegrationTest.groovy

            File cacheFile = cacheDir.file(key)
            Files.copy(value.toPath(), cacheFile.toPath())
            writeLastFileAccessTimeToJournal(cacheFile, timestamp)
        }
    
        @Override
        boolean existsBuildCacheEntry(String key) {
            cacheDir.file(key).exists()
        }
    
        @Override
        AbstractIntegrationSpec withEnabledBuildCache() {
            withBuildCache()
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top