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

Function get_ir_cache_name

mypyc/codegen/emitmodule.py:407–410  ·  view source on GitHub ↗
(id: str, path: str, options: Options)

Source from the content-addressed store, hash-verified

405
406
407def get_ir_cache_name(id: str, path: str, options: Options) -> str:
408 meta_path, _, _ = get_cache_names(id, path, options)
409 # Mypyc uses JSON cache even with --fixed-format-cache (for now).
410 return meta_path.replace(".meta.json", ".ir.json").replace(".meta.ff", ".ir.json")
411
412
413def get_state_ir_cache_name(state: State) -> str:

Callers 2

report_config_dataMethod · 0.85
get_state_ir_cache_nameFunction · 0.85

Calls 2

get_cache_namesFunction · 0.90
replaceMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…