Skip to main content

Module report

Module report 

Source
Expand description

Pure reporting: line deltas and their rendering.

Nothing here opens a path, reads a file of its own accord, or defines an error type: a writer’s failure is the caller’s own std::io::Error, returned untouched. The module is named report rather than check because it serves --check and --diff equally.

Re-exports§

pub use crate::report::delta::LineDelta;
pub use crate::report::render::DiffOptions;
pub use crate::report::render::render_report_line;
pub use crate::report::render::render_summary;
pub use crate::report::render::write_unified_diff;

Modules§

delta
Line-level insertion and deletion counts.
render
Rendering of report lines, summaries, and unified diffs.

Structs§

FileReport
What one file’s analysis produced, ready to render.