module

Smith::Session::Retention

Parses the --older-than span of sessions prune: "30d", "12h", "15m". A bare number means days, because that is the unit retention is measured in. Anything else is a typo the user should see, not guess at.

Class methods

parse(input : String) : Time::Span
Source