Skip to main content

validate_header_with_vfs

Function validate_header_with_vfs 

Source
pub fn validate_header_with_vfs(
    vfs: &dyn Vfs,
    path: &Path,
    expected: &SegmentMeta,
) -> Result<usize, SegmentError>
Expand description

Reads and validates only one bounded segment header through a VFS decorator.