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

Method isfile

Lib/test/test_getpath.py:1006–1009  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

1004 return path.casefold() in self._dirs
1005
1006 def isfile(self, path):
1007 if verbose:
1008 print("Check if", path, "is a file")
1009 return path.casefold() in self._files
1010
1011 def ismodule(self, path):
1012 if verbose:

Callers 15

ok_commandMethod · 0.45
readprofileMethod · 0.45
is_python_buildFunction · 0.45
send_headMethod · 0.45
is_fileMethod · 0.45
shouldRolloverMethod · 0.45
shouldRolloverMethod · 0.45
_execute_scriptFunction · 0.45
mainFunction · 0.45
discoverMethod · 0.45
_find_test_pathMethod · 0.45
_convert_nameFunction · 0.45

Calls 1

casefoldMethod · 0.80

Tested by

no test coverage detected