Skip to main content

run_repair

Function run_repair 

Source
pub fn run_repair(
    ctx: &Context,
    out: Option<String>,
    format: Format,
) -> Result<()>
Expand description

Repair-only entry for codewiki --repair-citations: re-anchors every generated page’s [file:line] citations against the current index and rewrites only the pages whose citations changed. No generation, no AI/LLM calls. Loads the full visible symbol set (like run) so a citation to any indexed file can resolve, then prints the super::CitationRepairSummary.