Skip to main content

check_version

Function check_version 

Source
pub fn check_version(bytes: &[u8], path: &Path) -> AppResult<()>
Expand description

The one choke point every read path calls immediately after read_bytes, under the lock it already holds and before the fold, any tear-heal byte, any append, and any copy-and-swap.