Skip to main content

Module apply

Module apply 

Source
Expand description

Reduce a journal batch to per-FRN final operations and apply them to the index.

Reason flags are aggregated per FRN first (a rename storm touching one file collapses to a single upsert — docs/ARCHITECTURE.md), then ops run in first-touch order so that mkdir a; touch a\b resolves parents.

Structs§

Agg 🔒
BatchStats
Outcome tally for one applied journal batch, one counter per op kind.
NullStatFetcher
Fetcher that never answers — entries keep carried-over (or zero) values.

Constants§

STAT_REASONS 🔒

Traits§

StatFetcher
Size/mtime lookup for created/changed files. The USN record carries neither (RESEARCH.md), so the live session asks the volume; replay tests inject canned values.

Functions§

apply_batch
Apply one journal batch. Bumps the content generation exactly once.