MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / isreg

Method isreg

tools/python-3.11.9-amd64/Lib/tarfile.py:1576–1578  ·  view source on GitHub ↗

Return True if the Tarinfo object is a regular file.

(self)

Source from the content-addressed store, hash-verified

1574 return blocks * BLOCKSIZE
1575
1576 def isreg(self):
1577 'Return True if the Tarinfo object is a regular file.'
1578 return self.type in REGULAR_TYPES
1579
1580 def isfile(self):
1581 'Return True if the Tarinfo object is a regular file.'

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected