yggdrasil.io.delta.log¶
log ¶
Delta transaction-log parser.
Immutable log files (commit JSONs, checkpoints, sidecars) are read through the
two-tier byte cache in :mod:yggdrasil.io.delta._cache (small RAM LRU + disk
under ~/.cache); the mutable _last_checkpoint pointer and the directory
listing are read fresh. Above all this, the parsed
:class:~yggdrasil.io.delta.snapshot.Snapshot is cached on the (location-keyed
singleton) DeltaFolder and advances incrementally off a fresh listing, so the
log files are (re)read only when the listing actually changes.