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

Function S_ISBLK

Lib/stat.py:58–60  ·  view source on GitHub ↗

Return True if mode is from a block special device file.

(mode)

Source from the content-addressed store, hash-verified

56 return S_IFMT(mode) == S_IFCHR
57
58def S_ISBLK(mode):
59 """Return True if mode is from a block special device file."""
60 return S_IFMT(mode) == S_IFBLK
61
62def S_ISREG(mode):
63 """Return True if mode is from a regular file."""

Callers 1

is_block_deviceMethod · 0.90

Calls 1

S_IFMTFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…