pub fn validate_commit_header<Reader: Read + Seek>(
reader: &mut Reader,
byte_offset: u64,
) -> Result<Header>Expand description
Try to extract the commit header from the asked position without advancing seek.
IndexFileMut fsync asynchoronously, which makes it important for reader to verify its entry