pub fn remove_file(
report: &ScanReport,
file_path: &str,
) -> Result<ScanReport, SimulateError>Expand description
Produce a ScanReport representing the codebase as if file_path did not
exist. All facts referencing the file (and any functions defined in it) are
dropped, and remaining file/function/call ids are renumbered so downstream
consumers that index by id continue to work.