Skip to main content

parse_age_threshold

Function parse_age_threshold 

Source
pub fn parse_age_threshold(threshold: &str) -> Result<Duration>
Expand description

Parse an age threshold string (“7d”, “24h”, “2w”, “0s”) into a Duration.