Skip to main content

parse_usage

Function parse_usage 

Source
pub fn parse_usage(spec: &ProviderSpec, text: &str) -> Option<u64>
Expand description

Pull a token count out of provider output using its configured regex.