Companion

object Companion

Functions

Link copied to clipboard
fun build(a: Text, b: Text, conf: DiffConfig = defaultDiffConfig): List<Chunk>

Build a set of changed chunks for the given documents.

Link copied to clipboard
fun updateA(chunks: List<Chunk>, a: Text, b: Text, changes: ChangeDesc, conf: DiffConfig = defaultDiffConfig): List<Chunk>

Update a set of chunks for changes in document A. a should hold the updated document A.

Link copied to clipboard
fun updateB(chunks: List<Chunk>, a: Text, b: Text, changes: ChangeDesc, conf: DiffConfig = defaultDiffConfig): List<Chunk>

Update a set of chunks for changes in document B.