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

Method isfile

mypy/test/test_find_sources.py:20–21  ·  view source on GitHub ↗
(self, path: str)

Source from the content-addressed store, hash-verified

18 self.files = {os.path.abspath(f) for f in files}
19
20 def isfile(self, path: str) -> bool:
21 return path in self.files
22
23 def isdir(self, path: str) -> bool:
24 if not path.endswith(os.sep):

Callers 5

write_and_fudge_mtimeFunction · 0.45
verify_cacheMethod · 0.45
update_module_isolatedFunction · 0.45
delete_moduleFunction · 0.45
get_sourcesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected