Skip to main content

parse_segment_file_name

Function parse_segment_file_name 

Source
pub fn parse_segment_file_name(name: &str) -> Option<SegmentFileName<'_>>
Expand description

Reads back the segment artifact that segment_file_name rendered.

Both leading components have a fixed width, so the name parses from the left even though the Base64 alphabet contains the - separator. Returns None when a component is absent or malformed.