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

Method commit

mypy/build.py:1325–1328  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1323 self.reports.file(file, self.modules, type_map, options)
1324
1325 def commit(self) -> None:
1326 t0 = time.time()
1327 self.metastore.commit()
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)."""

Callers 5

build_innerFunction · 0.95
process_graphFunction · 0.45
serveFunction · 0.45
apply_diffFunction · 0.45
write_cacheFunction · 0.45

Calls 1

add_statsMethod · 0.95

Tested by

no test coverage detected