Code cleanup: data deprecations and some effective visibility stuff
Original commit: cae0388a57
This commit is contained in:
@@ -675,9 +675,14 @@ data class ChangesInfo(
|
|||||||
|
|
||||||
public fun BuildDataPaths.getKotlinCacheVersion(target: BuildTarget<*>): CacheFormatVersion = CacheFormatVersion(getTargetDataRoot(target))
|
public fun BuildDataPaths.getKotlinCacheVersion(target: BuildTarget<*>): CacheFormatVersion = CacheFormatVersion(getTargetDataRoot(target))
|
||||||
|
|
||||||
private data class KotlinIncrementalStorageProvider(
|
private class KotlinIncrementalStorageProvider(
|
||||||
private val target: ModuleBuildTarget
|
private val target: ModuleBuildTarget
|
||||||
) : StorageProvider<IncrementalCacheImpl>() {
|
) : StorageProvider<IncrementalCacheImpl>() {
|
||||||
|
|
||||||
|
override fun equals(other: Any?) = other is KotlinIncrementalStorageProvider && target == other.target
|
||||||
|
|
||||||
|
override fun hashCode() = target.hashCode()
|
||||||
|
|
||||||
override fun createStorage(targetDataDir: File): IncrementalCacheImpl =
|
override fun createStorage(targetDataDir: File): IncrementalCacheImpl =
|
||||||
IncrementalCacheImpl(targetDataDir, target)
|
IncrementalCacheImpl(targetDataDir, target)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user