Complete production catalog generation hashes every package twice, which is necessary for publication but wasteful when the same package tree has already produced the current catalog. Add a metadata-only cache that records package paths, sizes, nanosecond mtimes, catalog and unrar metadata, and output identity. The cache is advisory: incomplete outputs never hit, and production build validation remains the authority. Record files atomically under the ignored local cache directory, with focused tests for hits, source changes, and incomplete output. Test Plan: - `python3 -m unittest discover -s tools -p 'test_*.py'` -- passed - `git diff --cached --check` -- passed
7 lines
92 B
INI
7 lines
92 B
INI
/target
|
|
/.lanspread-peer-cli/
|
|
/.lanspread/catalog-cache/
|
|
/game.db
|
|
/thumbnails/
|
|
__pycache__/
|