Skip to main content

parse_header

Function parse_header 

Source
pub fn parse_header(input: &str) -> Result<SnapshotHeader, SnapshotError>
Expand description

Parses only the leading # header block, so a caller that needs the provenance of a snapshot does not pay for its body.