Skip to main content

section_map

Function section_map 

Source
fn section_map(
    manifest: &Value,
    section: &str,
) -> Result<BTreeMap<String, MethodSignature>>
Expand description

Parses one manifest’s section array (client_requests, etc.) into a method -> signature map. Shared by both the vendored JSON file and the installed manifest (also serialized to Value), so both sides go through identical extraction logic - a field name typo here would otherwise show up as one specific, hard-to-diagnose false “changed” or “added”/“removed” pair instead of a loud, obvious error.