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

Method isreg

Lib/tarfile.py:1658–1660  ·  view source on GitHub ↗

Return True if the Tarinfo object is a regular file.

(self)

Source from the content-addressed store, hash-verified

1656 return blocks * BLOCKSIZE
1657
1658 def isreg(self):
1659 'Return True if the Tarinfo object is a regular file.'
1660 return self.type in REGULAR_TYPES
1661
1662 def isfile(self):
1663 'Return True if the Tarinfo object is a regular file.'

Callers 10

_proc_builtinMethod · 0.95
isfileMethod · 0.95
_get_filtered_attrsFunction · 0.80
_proc_paxMethod · 0.80
addMethod · 0.80
addfileMethod · 0.80
extractfileMethod · 0.80
_extract_memberMethod · 0.80
test_read_throughMethod · 0.80
addMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_read_throughMethod · 0.64
addMethod · 0.64