Coverage for src/romfarmer/cache/__init__.py: 0%

4 statements  

« prev     ^ index     » next       coverage.py v7.15.4, created at 2026-09-01 23:08 -0700

1""" 

2ROM Cache Module 

3 

4Provides caching for transformed ROM files (CHD, RVZ, 7z, etc.) to avoid 

5redundant processing across builds. Files are stored by source hash and 

6can be linked to output directories to save disk space. 

7 

8Also supports folder-based outputs (PS3, daphne, scummvm, etc.) via 

9TreeCache entries that reference TreeManifest objects in the CAS. 

10""" 

11 

12from .config import CacheConfig, CacheLinkMode, CacheResult, CacheVerifyLevel 

13from .manager import CacheManager 

14from .models import ROMCache, TreeCache 

15 

16__all__ = [ 

17 "CacheManager", 

18 "CacheConfig", 

19 "CacheResult", 

20 "CacheLinkMode", 

21 "CacheVerifyLevel", 

22 "ROMCache", 

23 "TreeCache", 

24]