[IC] Add methods to write without explicit registering in a transaction
#KT-49785 In Progress
This commit is contained in:
committed by
Space Team
parent
581bc89849
commit
3dcf5af4b0
@@ -72,9 +72,7 @@ open class IncrementalJsCache(
|
||||
var header: ByteArray
|
||||
get() = headerFile.readBytes()
|
||||
set(value) {
|
||||
icContext.transaction.registerAddedOrChangedFile(headerFile.toPath())
|
||||
cachesDir.mkdirs()
|
||||
headerFile.writeBytes(value)
|
||||
icContext.transaction.writeBytes(headerFile.toPath(), value)
|
||||
}
|
||||
|
||||
override fun markDirty(removedAndCompiledSources: Collection<File>) {
|
||||
|
||||
Reference in New Issue
Block a user