Allow customizing source file path conversion in lookup storage

This commit is contained in:
Alexey Tsvetkov
2019-04-12 16:35:13 +03:00
parent 79337a6b96
commit 00de7b6c44
11 changed files with 80 additions and 98 deletions
@@ -35,7 +35,7 @@ abstract class IncrementalCachesManager<PlatformCache : AbstractIncrementalCache
private val lookupCacheDir = File(cachesRootDir, "lookups").apply { mkdirs() }
val inputsCache: InputsCache = InputsCache(inputSnapshotsCacheDir, reporter).apply { registerCache() }
val lookupCache: LookupStorage = LookupStorage(lookupCacheDir).apply { registerCache() }
val lookupCache: LookupStorage = LookupStorage(lookupCacheDir, PATH_CONVERTER).apply { registerCache() }
abstract val platformCache: PlatformCache
fun close(flush: Boolean = false): Boolean {