Skip to main content

parse

Function parse 

Source
pub fn parse(filename: &str) -> Option<ShardName>
Expand description

Parse a <base>-<index>-of-<total>.gguf filename. The index and total fields are exactly five digits, 1 <= index <= total, and the base is non-empty.