pub struct ScanReport {
pub root: PathBuf,
pub files: Vec<ScannedFile>,
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,
/* private fields */
}Fields§
§root: PathBuf§files: Vec<ScannedFile>§skipped: Vec<SkippedEntry>§warnings: Vec<ScanWarning>§ignore_sources: Vec<IgnoreSourceEvidence>Every ignore input that participated in path selection.
revision: String§complete: boolFalse when local I/O or ignore-rule errors made evidence partial.
termination: Option<ScanTermination>Why a bounded scan stopped before exhausting the tree.
portable: boolFalse when selection depended on host-level configuration.
cache: ScanCacheStatsEvidence of content work reused from an older persistent report.
Implementations§
Source§impl ScanReport
impl ScanReport
Source§impl ScanReport
impl ScanReport
Sourcepub fn to_portable(&self) -> PortableScanReport
pub fn to_portable(&self) -> PortableScanReport
Returns path-safe evidence for IPC, logs, caches, and external tools.
Source§impl ScanReport
impl ScanReport
Sourcepub fn delta_from(&self, previous: &Self) -> ScanDelta
pub fn delta_from(&self, previous: &Self) -> ScanDelta
Computes the deterministic changed-file set from an older report.
Source§impl ScanReport
impl ScanReport
Sourcepub fn content_provider(
&self,
) -> Result<SnapshotContentProvider<'_>, SnapshotReadError>
pub fn content_provider( &self, ) -> Result<SnapshotContentProvider<'_>, SnapshotReadError>
Creates a provider after validating report ordering and path scope.
§Errors
Returns SnapshotReadError::InvalidReport for a malformed,
path-escaping, duplicate, or unverifiable report entry.
Source§impl ScanReport
impl ScanReport
Sourcepub fn summary(&self) -> ScanSummary
pub fn summary(&self) -> ScanSummary
Aggregates this report without exposing repository paths.
Trait Implementations§
Source§impl Clone for ScanReport
impl Clone for ScanReport
Source§fn clone(&self) -> ScanReport
fn clone(&self) -> ScanReport
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 ScanReport
impl Debug for ScanReport
impl Eq for ScanReport
Source§impl From<&ScanReport> for PortableScanReport
impl From<&ScanReport> for PortableScanReport
Source§fn from(report: &ScanReport) -> Self
fn from(report: &ScanReport) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScanReport
impl PartialEq for ScanReport
impl StructuralPartialEq for ScanReport
Auto Trait Implementations§
impl Freeze for ScanReport
impl RefUnwindSafe for ScanReport
impl Send for ScanReport
impl Sync for ScanReport
impl Unpin for ScanReport
impl UnsafeUnpin for ScanReport
impl UnwindSafe for ScanReport
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