Expand description
USN change-journal tailing: pure record parsing (records), per-FRN
reduction + index application (apply), and the OS-facing session
(session, Windows only).
See docs/ARCHITECTURE.md for the threading model and fallback rules.
Re-exports§
pub use apply::BatchStats;pub use apply::NullStatFetcher;pub use apply::StatFetcher;pub use apply::apply_batch;pub use records::UsnRecord;pub use records::parse_buffer;pub use records::reason;pub use session::JournalGone;pub use session::ReadOutcome;pub use session::UsnError;pub use session::UsnJournal;pub use session::VolumeStatFetcher;
Modules§
- apply
- Reduce a journal batch to per-FRN final operations and apply them to the index.
- records
- Pure
USN_RECORD_V2buffer parsing — no OS calls, so the whole layer is testable from raw byte fixtures (docs/ARCHITECTURE.md, CLAUDE.md elevation rules). - session
- Live USN-journal session: volume handle, FSCTL wrappers, blocking reads and the per-file stat fetcher.