pub fn path_parts(pattern: &str) -> Result<Vec<PathPart>, String>
The parts {name} and {name:%Y%m%d} of a [files] path, in order.
{name}
{name:%Y%m%d}
[files]