Skip to main content

check_tar_gz_integrity

Function check_tar_gz_integrity 

Source
pub fn check_tar_gz_integrity(path: &Path) -> bool
Expand description

Quick integrity check: verify the file is non-empty and starts with gzip magic bytes (1f 8b). Returns true if the archive looks valid.