Skip to main content

Module rollup

Module rollup 

Source
Expand description

Pre-computed rollup statistics cached at ~/.edda/collabs/<tool>/rollup.json.

Supports daily, weekly, and monthly granularity with incremental updates.

Structs§

DayStat
Daily statistics.
FileEditStat
Per-file edit statistics for code heatmap.
MonthStat
Monthly statistics.
Rollup
The full rollup cache.
WeekStat
Weekly statistics.

Functions§

collabs_dir
Path to the collabs directory for a tool.
compute_rollup
Compute a full rollup from scratch.
compute_rollup_incremental
Incremental rollup: compute only new data since last update, then merge.
ensure_collabs_dir
Ensure the collabs directory structure exists.
load_rollup
Load an existing rollup from disk.
merge_rollups
Merge two rollups: new data replaces overlapping days in base.
rollup_path
Path to the rollup cache file for a tool.
save_rollup
Save a rollup to disk.