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

Method getmtime

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

Source from the content-addressed store, hash-verified

221 return results[0][0]
222
223 def getmtime(self, name: str) -> float:
224 mtime = self._query(name, "mtime")
225 assert isinstance(mtime, float)
226 return mtime
227
228 def read(self, name: str) -> bytes:
229 data = self._query(name, "data")

Callers 1

mainFunction · 0.95

Calls 2

_queryMethod · 0.95
isinstanceFunction · 0.85

Tested by

no test coverage detected