(cache_dir: str)
| 151 | from mypy.metastore import SqliteMetadataStore |
| 152 | |
| 153 | def read_all(cache_dir: str) -> dict[str, bytes]: |
| 154 | store = SqliteMetadataStore(cache_dir, num_shards=SQLITE_NUM_SHARDS) |
| 155 | result = {name: store.read(name) for name in store.list_all()} |
| 156 | store.close() |
| 157 | return result |
| 158 | |
| 159 | before = read_all(patched_ver) |
| 160 |
nothing calls this directly
no test coverage detected