mirror of
https://github.com/therootcompany/golib.git
synced 2026-04-24 12:48:00 +00:00
Prefer <edition>_LATEST.tar.gz (what httpcache writes), but fall back to the lexicographically greatest <edition>_*.tar.gz — MaxMind's dated Content-Disposition names sort chronologically, so this picks the most recent archive when the cache was populated by hand or by another tool. Exposes FindTarGz for callers that need the resolved path.