pub fn validate_archive_entry_kind( entry: &Path, kind: ArchiveEntryKind, ) -> Result<(), ArchiveEntryTypeError>