Skip to main content

resolve_named_path

Function resolve_named_path 

Source
pub fn resolve_named_path(
    name: &str,
    core_import: &str,
    path_map: &AHashMap<String, String>,
) -> String
Expand description

Resolve a TypeRef::Named short name to its full qualified path.

If the name is in the path map, returns the full path; otherwise falls back to core_import::name.