Expand description
Hybrid point-in-time version store with JSON manifest and browsable trees. Hybrid point-in-time + per-file version store with JSON manifest. Wraps the core versioning engine to provide human-readable naming, dirvish-style browsable tree snapshots, and machine-readable indexes.
Structs§
- Archive
Entry - A single entry from an inspected archive listing.
- Archive
Export Stats - Statistics from an archive export operation.
- Import
Stats - Statistics from an archive import operation.
- Prune
Stats - Statistics returned from snapshot pruning operations.
- Retention
Policy - Expiration and policy rules for snapshot retention.
- Snapshot
Entry - Metadata for a single point-in-time snapshot entry.
- Snapshot
Index - JSON-serializable snapshot index with schema version and snapshot list.
- Snapshot
Store Stats - Aggregate storage statistics across all snapshots.
- Snapshot
Summary - Version
Store - Manages point-in-time snapshots with browsable tree directories and JSON manifest.
Functions§
- compute_
disk_ usage - Compute apparent size (st_size) and actual disk usage (st_blocks * 512) for a directory tree. Returns (apparent_bytes, disk_bytes).
- compute_
store_ stats - Compute aggregate storage statistics across all snapshots.
If
store_rootis provided, computes BLAKE3 content dedup across all snapshot files. - print_
snapshot_ table - Print snapshots as a formatted table with CoW storage stats.
- print_
store_ stats - Print detailed storage stats.
- wrap_
import_ decompressor - Wraps a reader with the appropriate decompressor based on the compression format string.