Skip to main content

lookup_raw

Function lookup_raw 

Source
fn lookup_raw<'m, S: BuildHasher>(
    metadata: &'m HashMap<String, String, S>,
    arch: &str,
    suffix: &str,
) -> Option<&'m str>
Expand description

Look up an architecture-prefixed GGUF key ({arch}.{suffix}), falling back to the bare suffix for the occasional file that omits the prefix.