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

Method __init__

mypy/fscache.py:43–47  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

41@mypyc_attr(allow_interpreted_subclasses=True) # for tests
42class FileSystemCache:
43 def __init__(self) -> None:
44 # The package root is not flushed with the caches.
45 # It is set by set_package_root() below.
46 self.package_root: list[str] = []
47 self.flush()
48
49 def set_package_root(self, package_root: list[str]) -> None:
50 self.package_root = package_root

Callers

nothing calls this directly

Calls 1

flushMethod · 0.95

Tested by

no test coverage detected