Function zebra_state::config::parse_major_version

source ·
fn parse_major_version(dir_name: &str) -> Option<u64>
Expand description

Parse the database major version number from dir_name.

Returns None if parsing fails, or the directory name is not in the expected format.