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

Method commit

mypy/metastore.py:60–66  ·  view source on GitHub ↗

If the backing store requires a commit, do it. But N.B. that this is not *guaranteed* to do anything, and there is no guarantee that changes are not made until it is called.

(self)

Source from the content-addressed store, hash-verified

58
59 @abstractmethod
60 def commit(self) -> None:
61 """If the backing store requires a commit, do it.
62
63 But N.B. that this is not *guaranteed* to do anything, and
64 there is no guarantee that changes are not made until it is
65 called.
66 """
67
68 def commit_path(self, name: str) -> None:
69 """Commit changes related to a specific cache path.

Callers 3

commit_pathMethod · 0.95
commitMethod · 0.45
commit_pathMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected