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

Method isblk

Lib/tarfile.py:1682–1684  ·  view source on GitHub ↗

Return True if it is a block device.

(self)

Source from the content-addressed store, hash-verified

1680 return self.type == CHRTYPE
1681
1682 def isblk(self):
1683 'Return True if it is a block device.'
1684 return self.type == BLKTYPE
1685
1686 def isfifo(self):
1687 'Return True if it is a FIFO.'

Callers 3

listMethod · 0.80
_extract_memberMethod · 0.80
makedevMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected