diff library
Port of Python's difflib library to Dart providing tools for comparing lists.
Classes
- ContextDiffer
-
Generates the context format
of
diff -c
. - Differ
- Abstract class producing deltas from sequences of lines of text.
- Match
- Encapsulates a matching block when comparing two inputs.
- NormalDiffer
-
Generates the normal output
format of
diff
. - Operation
- Encapsulates an operation when comparing two inputs.
- ReadableDiffer
- Generates a highly configurable diff output.
-
SequenceMatcher<
T> - Low-level algorithm to compute match blocks, transformation operations, and similarities between a source and a target collection.
- UnifiedDiffer
-
Generates the unified format
of
diff -u
.
Enums
- OperationType
- The four different types of operations.