get_format_version

Function get_format_version 

Source
pub fn get_format_version<R: Read>(
    reader: &mut R,
) -> Result<Version, SnapshotError>
Expand description

Assumes the raw bytes stream read from the given Read instance is a snapshot file, and returns the version of it.