We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
moves
1 parent 42ed918 commit a0985d8Copy full SHA for a0985d8
1 file changed
FlexibleDiff/Changeset.swift
@@ -98,7 +98,11 @@ public struct Changeset {
98
/// start index and the offset.
99
public var mutations = IndexSet()
100
101
- /// The offset pairs of moves with a mutation flag as the associated value.
+ /// The offset pairs of moves.
102
+ ///
103
+ /// These represent only the required moves for reproducing the current version from the
104
+ /// previous version — moves being implied by preceding removals and insertions could
105
+ /// have been eliminated as an optimization.
106
///
107
/// The source offset is semantically equivalent to a removal offset, while the
108
/// destination offset is semantically equivalent to an insertion offset.
0 commit comments