- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for useForStore (0.27 sec)
-
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheStateStore.kt
*/ fun <T : Any> useForStateLoad(stateType: StateType, action: (ConfigurationCacheStateFile) -> T): T /** * Writes some value to zero or more state files. */ fun <T> useForStore(action: (ConfigurationCacheRepository.Layout) -> T): T /** * Creates a new [ValueStore] that can be used to load and store multiple values. */ fun <T> createValueStore( stateType: StateType,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt
return projectMetadata.loadOrCreateOriginalValue(identityPath, creator) } override fun finalizeCacheEntry() { if (problems.shouldDiscardEntry) { store.useForStore { layout -> layout.fileFor(StateType.Entry).delete() } cacheEntryRequiresCommit = false } else if (cacheEntryRequiresCommit) {
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/ConfigurationCacheRepository.kt
return withExclusiveAccessToCache(baseDir) { cacheDir -> action(ReadableLayout(cacheDir)) } } override fun <T> useForStore(action: (Layout) -> T): T = withExclusiveAccessToCache(baseDir) { cacheDir -> // TODO GlobalCache require(!cacheDir.isDirectory) Files.createDirectories(cacheDir.toPath())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.2K bytes - Viewed (0)