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

Method commit_path

mypy/metastore.py:68–74  ·  view source on GitHub ↗

Commit changes related to a specific cache path. For sharded stores, this commits only the shard containing the path. Default implementation commits everything.

(self, name: str)

Source from the content-addressed store, hash-verified

66 """
67
68 def commit_path(self, name: str) -> None:
69 """Commit changes related to a specific cache path.
70
71 For sharded stores, this commits only the shard containing the path.
72 Default implementation commits everything.
73 """
74 self.commit()
75
76 @abstractmethod
77 def list_all(self) -> Iterable[str]: ...

Callers 1

commit_moduleMethod · 0.45

Calls 1

commitMethod · 0.95

Tested by

no test coverage detected