use crate::{entry::StoredZipEntry, string::ZipString};
#[derive(Clone)]
pub struct ZipFile {
pub(crate) entries: Vec<StoredZipEntry>,
pub(crate) zip64: bool,
pub(crate) comment: ZipString,
}
impl ZipFile {
pub fn entries(&self) -> &[StoredZipEntry] {
&self.entries
}
pub fn comment(&self) -> &ZipString {
&self.comment
}
pub fn zip64(&self) -> bool {
self.zip64
}
}