pub struct DuplicateReport {
pub leaked: Vec<String>,
pub genuine: Vec<String>,
}Expand description
Result of detect_stale_duplicates — a partition of a profile’s
filesystem-scanner rows into “covered by the manifest” (leaked
duplicates) and “not covered” (genuine additions).
mod_ids whose footprint cannot be determined by the supplied
mod_id_to_footprint closure (typically nexus_*, wj_*, or any
non-filesystem-scheme row) are not included in either list —
they’re skipped silently because they aren’t candidates for this
kind of dedup.
Fields§
§leaked: Vec<String>Filesystem-scanner mod_ids whose footprint is covered by the
manifest. These are safe to delete from the profile: a
manifest-authored row (usually nexus_*) already deploys the
same files under a different ID.
genuine: Vec<String>Filesystem-scanner mod_ids whose footprint is not covered
by the manifest. These are genuine additions the user made on
top of the Wabbajack modlist and must be preserved.
Trait Implementations§
Source§impl Clone for DuplicateReport
impl Clone for DuplicateReport
Source§fn clone(&self) -> DuplicateReport
fn clone(&self) -> DuplicateReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DuplicateReport
impl Debug for DuplicateReport
Source§impl Default for DuplicateReport
impl Default for DuplicateReport
Source§fn default() -> DuplicateReport
fn default() -> DuplicateReport
Source§impl PartialEq for DuplicateReport
impl PartialEq for DuplicateReport
Source§fn eq(&self, other: &DuplicateReport) -> bool
fn eq(&self, other: &DuplicateReport) -> bool
self and other values to be equal, and is used by ==.impl Eq for DuplicateReport
impl StructuralPartialEq for DuplicateReport
Auto Trait Implementations§
impl Freeze for DuplicateReport
impl RefUnwindSafe for DuplicateReport
impl Send for DuplicateReport
impl Sync for DuplicateReport
impl Unpin for DuplicateReport
impl UnsafeUnpin for DuplicateReport
impl UnwindSafe for DuplicateReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.