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

Function get_meta_ex_name

mypy/build.py:1926–1930  ·  view source on GitHub ↗
(meta_name: str)

Source from the content-addressed store, hash-verified

1924
1925
1926def get_meta_ex_name(meta_name: str) -> str:
1927 # Convert e.g. foo.bar.meta.ff to foo.bar.meta_ex.ff
1928 parts = meta_name.rsplit(".", maxsplit=2)
1929 parts[1] = "meta_ex"
1930 return ".".join(parts)
1931
1932
1933def get_cache_names(id: str, path: str, options: Options) -> tuple[str, str, str | None]:

Callers 2

find_cache_metaFunction · 0.85
write_cache_meta_exFunction · 0.85

Calls 2

rsplitMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…