pub fn is_squashfs(path: &Path) -> boolExpand description
Check if file starts with Squashfs magic bytes.
Squashfs filesystems can be either little-endian (hsqs) or big-endian (sqsh). This function checks for both variants.
ยงReturns
true if the file starts with either Squashfs signature, false otherwise or on IO error.