Skip to main content

Module site_diff

Module site_diff 

Source
Expand description

miwa site --diff: a single-page HTML view of document changes.

The documents of the merge-base and of the working tree are loaded with the same code as miwa site, paired (FR-112), and every changed one is shown as a frame of aligned blocks (FR-108 .. FR-120).

Structs§

DiffOptions
Options for miwa site --diff.

Constants§

DEFAULT_OUT
Default output path when --diff is given without --out.

Functions§

run
Writes the diff HTML (FR-108..120). Ok(()) also when nothing changed (no file written).