Skip to main content

build_doc_diff_report_with_blocks

Function build_doc_diff_report_with_blocks 

Source
pub fn build_doc_diff_report_with_blocks(
    repo: &Repository,
    doc_rel_path: &str,
    limit: usize,
) -> Result<Option<DocDiffReport>, DiffError>
Expand description

Like build_doc_diff_report but attaching the rendered block diff to each file. Used by consumers that actually render blocks; the CLI build/history path does not (it projects only hunks), so it uses the cheaper default.