DiffConfig

data class DiffConfig(val scanLimit: Int, val timeout: Long = 0, val override: (String, String) -> List<Change>? = null)

Configuration for the diff algorithm.

Parameters

scanLimit

Controls how many comparisons the algorithm makes before falling back to a crude (less precise) match. Default is effectively unlimited.

timeout

Maximum time in milliseconds to spend diffing (0 = unlimited).

override

Optional custom diff function that replaces the built-in algorithm.

Constructors

Link copied to clipboard
constructor(scanLimit: Int, timeout: Long = 0, override: (String, String) -> List<Change>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard