Skip to main content

parse_evalset_metric

Function parse_evalset_metric 

Source
pub fn parse_evalset_metric(metric: &str) -> Option<(&str, &str)>
Expand description

Parse an evalset:<hash>:<field> metric string into its parts.

The hash is hex, so splitting on the LAST colon is unambiguous and lets a field name contain no colon by construction.