Skip to main content

copy_workspace_records

Function copy_workspace_records 

Source
fn copy_workspace_records(
    lcov: impl Read,
    info: &Path,
    root: &str,
) -> Result<usize>
Expand description

Copies only the records of sources under root, with their paths made relative. The report ignores every absolute path anyway, and dropping the registry and toolchain records here keeps gigabytes of lcov off the disk. Returns how many records were kept.