Skip to main content

is_retention_ttl

Function is_retention_ttl 

Source
pub(crate) fn is_retention_ttl(ttl: &str) -> bool
Expand description

Returns whether ttl is a retention period, i.e. a valid TTL other than instant. Invalid values return false so they fail normal option validation.