pub struct CompactScanReport {
pub root: PathBuf,
pub files: Vec<CompactScannedFile>,
pub skipped: Vec<SkippedEntry>,
pub warnings: Vec<ScanWarning>,
pub ignore_sources: Vec<IgnoreSourceEvidence>,
pub revision: String,
pub complete: bool,
pub termination: Option<ScanTermination>,
pub portable: bool,
pub cache: ScanCacheStats,
}Expand description
Memory-efficient deterministic manifest retaining the root path once.
This report preserves scanner selection, hashes, revision, warnings and
typed skip evidence while avoiding one absolute PathBuf per selected
file.
Fields§
§root: PathBuf§files: Vec<CompactScannedFile>§skipped: Vec<SkippedEntry>§warnings: Vec<ScanWarning>§ignore_sources: Vec<IgnoreSourceEvidence>§revision: String§complete: bool§termination: Option<ScanTermination>§portable: bool§cache: ScanCacheStatsImplementations§
Source§impl CompactScanReport
impl CompactScanReport
Sourcepub fn absolute_path(&self, file: &CompactScannedFile) -> PathBuf
pub fn absolute_path(&self, file: &CompactScannedFile) -> PathBuf
Materializes an absolute path for one compact entry.
Sourcepub fn into_scan_report(self) -> ScanReport
pub fn into_scan_report(self) -> ScanReport
Materializes the compatibility report without reading file contents again.
Source§impl CompactScanReport
impl CompactScanReport
Sourcepub fn summary(&self) -> ScanSummary
pub fn summary(&self) -> ScanSummary
Aggregates this compact report without exposing repository paths.
Trait Implementations§
Source§impl Clone for CompactScanReport
impl Clone for CompactScanReport
Source§fn clone(&self) -> CompactScanReport
fn clone(&self) -> CompactScanReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompactScanReport
impl Debug for CompactScanReport
impl Eq for CompactScanReport
Source§impl PartialEq for CompactScanReport
impl PartialEq for CompactScanReport
impl StructuralPartialEq for CompactScanReport
Auto Trait Implementations§
impl Freeze for CompactScanReport
impl RefUnwindSafe for CompactScanReport
impl Send for CompactScanReport
impl Sync for CompactScanReport
impl Unpin for CompactScanReport
impl UnsafeUnpin for CompactScanReport
impl UnwindSafe for CompactScanReport
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