pub fn nested_kind(path: &Path) -> Option<&'static str>Expand description
The format path holds if its name claims an archive format and its
signature agrees. Both matter: .jar, .docx, .pk3 and .apk are
ZIPs, and .ova and .gem are tars, and none of them should be offered.
A .z01 that starts like the first segment of a native split ZIP is
SPLIT_ZIP. That says nothing about the rest of the set, which
crate::session::nested_offer checks before offering it.