pub struct ChildSnapshot {
pub id: EntryId,
pub name: OsString,
pub kind: EntryKind,
pub attrs: Attrs,
pub ignored: Option<bool>,
pub rollup: Option<RollUp>,
pub partitions: Option<PartitionRollUp>,
}Expand description
One direct child captured from a shared index at a single read boundary.
Every field is owned so retaining this value never retains an index lock. The
optional roll-up is present for directories; non-directories carry only attrs.
Fields§
§id: EntryIdGeneration-safe arena identity at the capture boundary.
name: OsStringEntry name relative to its direct parent.
kind: EntryKindFilesystem entry kind.
attrs: AttrsLast observed metadata.
ignored: Option<bool>Effective fixed-control classification, or None when the index did not observe
control state (Index::observes_controls).
Such an index read no rule, so Some(false) would claim the child is not ignored
when nobody looked.
rollup: Option<RollUp>Pre-computed subtree totals for a directory.
partitions: Option<PartitionRollUp>Both maintained aggregate partitions for a directory, or None for a
non-directory and for any child of an index that did not observe control state,
whose unignored partition would only repeat rollup as if no rule applied.