pub struct PackReport { /* private fields */ }Expand description
Result of a successful pack operation.
Implementations§
Source§impl PackReport
impl PackReport
Sourcepub fn ignored_files(&self) -> &[Utf8PathBuf]
pub fn ignored_files(&self) -> &[Utf8PathBuf]
The entries .modignore excluded from the archive, in traversal
order. A pruned directory appears once; the files beneath it are not
enumerated.
Sourcepub fn ignored_count(&self) -> usize
pub fn ignored_count(&self) -> usize
ignored_files().len(), for reporting.
Sourcepub fn trimmed_game_names(&self) -> usize
pub fn trimmed_game_names(&self) -> usize
game hashtable names the format omitted because the package’s own
chunk table already recovers them.
A silent trim and an empty table look identical from outside, and only one of them is correct - report this to the user when it is not zero. Only the modpkg format trims; every other format reports 0.
Trait Implementations§
Source§impl Clone for PackReport
impl Clone for PackReport
Source§impl Debug for PackReport
impl Debug for PackReport
Source§impl PartialEq for PackReport
impl PartialEq for PackReport
impl StructuralPartialEq for PackReport
Auto Trait Implementations§
impl Freeze for PackReport
impl RefUnwindSafe for PackReport
impl Send for PackReport
impl Sync for PackReport
impl Unpin for PackReport
impl UnsafeUnpin for PackReport
impl UnwindSafe for PackReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more