MCPcopy Index your code
hub / github.com/python/mypy / save_cache

Function save_cache

misc/incremental_checker.py:206–208  ·  view source on GitHub ↗
(cache: JsonDict, incremental_cache_path: str = CACHE_PATH)

Source from the content-addressed store, hash-verified

204
205
206def save_cache(cache: JsonDict, incremental_cache_path: str = CACHE_PATH) -> None:
207 with open(incremental_cache_path, "w") as stream:
208 json.dump(cache, stream, indent=2)
209
210
211def set_expected(

Callers 1

test_repoFunction · 0.85

Calls 1

dumpMethod · 0.45

Tested by 1

test_repoFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…