MCPcopy Create free account
hub / github.com/python/mypy / remove

Method remove

mypy/metastore.py:251–254  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

249 return True
250
251 def remove(self, name: str) -> None:
252 db = self._db_for(name)
253 db.execute("DELETE FROM files2 WHERE path = ?", (name,))
254 self.dirty_shards.add(self._shard_index(name))
255
256 def commit(self) -> None:
257 for i in self.dirty_shards:

Callers

nothing calls this directly

Calls 3

_db_forMethod · 0.95
_shard_indexMethod · 0.95
addMethod · 0.45

Tested by

no test coverage detected