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

Method commit_module

mypy/build.py:1330–1332  ·  view source on GitHub ↗

Commit cache writes for a single module (identified by its meta file path).

(self, meta_file: str)

Source from the content-addressed store, hash-verified

1328 self.add_stats(cache_commit_time=time.time() - t0)
1329
1330 def commit_module(self, meta_file: str) -> None:
1331 """Commit cache writes for a single module (identified by its meta file path)."""
1332 self.metastore.commit_path(meta_file)
1333
1334 def verbosity(self) -> int:
1335 return self.options.verbosity

Callers 3

process_stale_sccFunction · 0.80

Calls 1

commit_pathMethod · 0.45

Tested by

no test coverage detected