unified_diff library
Generate the unified diff between two lists of strings, often representing the contents of two files.
Classes
- UnifiedDiff
- A file diff format that closely resembles the diffutils unified output format.
- UnifiedDiffHeader
- The header of a UnifiedDiff, generally with two lines, one sourceLine representing the source file, and one targetLine representing the target file.
- UnifiedDiffHunk
- A unified diff hunk, including its header and updates.
- UnifiedDiffHunkHeader
- The header of a UnifiedDiffHunk.
- UnifiedDiffHunkHeaderConfig
- A shared configuration for creating the string representation of a UnifiedDiffHunkHeader.