- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for CheckedFingerprint (0.4 sec)
-
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/CheckedFingerprint.kt
import org.gradle.util.Path sealed class CheckedFingerprint { // No fingerprint, which means no cache entry object NotFound : CheckedFingerprint() // Everything is up-to-date object Valid : CheckedFingerprint() // The entry cannot be reused at all and should be recreated from scratch class EntryInvalid(val reason: String) : CheckedFingerprint()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt
"--update-locks" ) ConfigurationCacheAction.STORE } else -> { when (val checkedFingerprint = checkFingerprint()) { is CheckedFingerprint.NotFound -> { logBootstrapSummary( "{} as no cached configuration is available for {}",
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 24.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/models/ProjectStateStore.kt
currentValues.mapValues { it.value.get() } fun restoreFromCacheEntry(entryDetails: Map<K, BlockAddress>, checkedFingerprint: CheckedFingerprint.ProjectsInvalid) { for (entry in entryDetails) { val identityPath = projectPathForKey(entry.key) if (identityPath == null || !checkedFingerprint.invalidProjects.contains(identityPath)) { // Can reuse the value
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 6.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintChecker.kt
return CheckedFingerprint.EntryInvalid(reason) } } else -> throw IllegalStateException("Unexpected configuration cache fingerprint: $input") } } return CheckedFingerprint.Valid } suspend fun ReadContext.checkProjectScopedFingerprint(): CheckedFingerprint { // TODO: log some debug info
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 17.3K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintCheckerTest.kt
} val checkedFingerprint = readContext.runReadOperation { ConfigurationCacheFingerprintChecker(host).run { checkBuildScopedFingerprint() } } return when (checkedFingerprint) { is CheckedFingerprint.Valid -> null is CheckedFingerprint.EntryInvalid -> checkedFingerprint.reason
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 18.5K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/fingerprint/ConfigurationCacheFingerprintController.kt
} suspend fun ReadContext.checkBuildScopedFingerprint(host: Host): CheckedFingerprint = ConfigurationCacheFingerprintChecker(CacheFingerprintCheckerHost(host)).run { checkBuildScopedFingerprint() } suspend fun ReadContext.checkProjectScopedFingerprint(host: Host): CheckedFingerprint = ConfigurationCacheFingerprintChecker(CacheFingerprintCheckerHost(host)).run {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 18.3K bytes - Viewed (0)