pub fn pull_coverage_report(
pull_id: u64,
comparison: PullComparison,
) -> Result<PullCoverageReport, String>Expand description
Converts Codecov’s pull comparison to an agent-oriented patch report.
Files are sorted by known patch misses, highest first; files whose patch totals are unknown sort after every file with known totals. Paths break ties.
§Errors
Returns an error when Codecov’s comparison omits required file paths or line numbers, or uses an unknown line coverage status.