Return True if mode is from a block special device file.
(mode)
| 56 | return S_IFMT(mode) == S_IFCHR |
| 57 | |
| 58 | def S_ISBLK(mode): |
| 59 | """Return True if mode is from a block special device file.""" |
| 60 | return S_IFMT(mode) == S_IFBLK |
| 61 | |
| 62 | def S_ISREG(mode): |
| 63 | """Return True if mode is from a regular file.""" |
no test coverage detected
searching dependent graphs…