MCPcopy Index your code
hub / github.com/RustPython/RustPython / isfile

Method isfile

Lib/tarfile.py:1662–1664  ·  view source on GitHub ↗

Return True if the Tarinfo object is a regular file.

(self)

Source from the content-addressed store, hash-verified

1660 return self.type in REGULAR_TYPES
1661
1662 def isfile(self):
1663 'Return True if the Tarinfo object is a regular file.'
1664 return self.isreg()
1665
1666 def isdir(self):
1667 'Return True if it is a directory.'

Callers 15

mainFunction · 0.45
extend_pathFunction · 0.45
get_default_verify_pathsFunction · 0.45
_find_executableFunction · 0.45
compile_fileFunction · 0.45
mainFunction · 0.45
ispackageFunction · 0.45
cliFunction · 0.45
venvFunction · 0.45
_make_zipfileFunction · 0.45
compileFunction · 0.45
initFunction · 0.45

Calls 1

isregMethod · 0.95

Tested by 1

startTestRunMethod · 0.36