Skip to main content

instrument_file

Function instrument_file 

Source
pub fn instrument_file(
    path: &Path,
    res_path: &str,
) -> Result<(Vec<u8>, HashSet<u32>)>
Expand description

Instrument a GDScript source file for coverage tracking. Returns (instrumented_bytes, instrumented_line_numbers). instrumented_line_numbers is the set of 1-based line numbers that received a hit-tracking call — this is the “lines found” (LF) count for LCOV.