package
Version:
v0.3.6
Opens a new window with list of versions in this module.
Published: Sep 20, 2026
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package diffx renders line-based unified diffs.
Unified renders ops as unified hunks with n context lines, git style.
It returns "" when ops contain no changes.
LineOp is one line of a diff: ' ' context, '-' removed, '+' added.
LineDiff computes a line-level edit script from a to b.
Trailing-newline differences are normalized away.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.