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

Method isfile

Lib/tarfile.py:1681–1683  ·  view source on GitHub ↗

Return True if the Tarinfo object is a regular file.

(self)

Source from the content-addressed store, hash-verified

1679 return self.type in REGULAR_TYPES
1680
1681 def isfile(self):
1682 'Return True if the Tarinfo object is a regular file.'
1683 return self.isreg()
1684
1685 def isdir(self):
1686 'Return True if it is a directory.'

Callers 15

mainFunction · 0.45
find_all_on_pathFunction · 0.45
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

Calls 1

isregMethod · 0.95

Tested by 4

has_opensslMethod · 0.36
has_srcMethod · 0.36
configure_makeFunction · 0.36
mainFunction · 0.36