pub struct Scope {
pub max_depth: Option<usize>,
pub follow_symlinks: bool,
pub one_filesystem: bool,
pub hidden: Option<Arc<HiddenPolicy>>,
pub exclude_special: bool,
pub types: Option<Arc<TypeRegistry>>,
pub read_controls: bool,
pub population: IgnoredEntries,
pub control_limits: ControlLimits,
}Expand description
Semantic filesystem scope, independent of scheduling and batching.
Fields§
§max_depth: Option<usize>Maximum retained depth.
follow_symlinks: boolWhether directory symlinks are followed.
one_filesystem: boolWhether traversal stays on one filesystem.
Hidden-component admission.
exclude_special: boolWhether special filesystem objects are excluded.
types: Option<Arc<TypeRegistry>>Classification rules.
read_controls: boolWhether gitignore control files are observed.
population: IgnoredEntriesIgnored population retained by this basis.
control_limits: ControlLimitsControl admission limits.
Implementations§
Source§impl Scope
impl Scope
Sourcepub fn scan_config(&self, delivery: &Delivery) -> ScanConfig
pub fn scan_config(&self, delivery: &Delivery) -> ScanConfig
Derive the scanner’s operational configuration from this scope and a delivery.
Sourcepub fn snapshot_identity(&self) -> SnapshotIdentity
pub fn snapshot_identity(&self) -> SnapshotIdentity
Identity of the persisted metadata tiers.
Trait Implementations§
Source§impl From<ScanConfig> for Scope
impl From<ScanConfig> for Scope
Source§fn from(scan: ScanConfig) -> Self
fn from(scan: ScanConfig) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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