replace File
abstract fun replaceFile(data: ByteArray, timestamp: Long = System.currentTimeMillis(), originator: UUID): TracedAction
Replace the entire contents of the file with the provided byte array.
Return
The TracedAction that preserves this edit and how to reverse it.
Parameters
data
The ByteArray data to add to this AvailFile.
timestamp
The time in milliseconds since the Unix Epoch UTC the update occurred.
originator
The AvailClient.id of the session that originated the change.