mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 12:48:00 +00:00
Extract the file/git/httpcache mode switch into newSource and the Group wiring into newBlocklists. main becomes flag parsing + exit code logic only; run owns ctx and the check. Helpers (loadCohort, cacheDir, splitCSV, loadWhitelist) are small and single-purpose. Still exercises dataset.Group + background refresh, gitshallow, and httpcache as before.