Whether this path is a FIFO.
(self)
| 1622 | return False |
| 1623 | |
| 1624 | def is_fifo(self): |
| 1625 | """ |
| 1626 | Whether this path is a FIFO. |
| 1627 | """ |
| 1628 | try: |
| 1629 | return S_ISFIFO(self.stat().st_mode) |
| 1630 | except OSError as e: |
| 1631 | if e.errno not in (ENOENT, ENOTDIR): |
| 1632 | raise |
| 1633 | # Path doesn't exist or is a broken symlink |
| 1634 | # (see https://bitbucket.org/pitrou/pathlib/issue/12/) |
| 1635 | return False |
| 1636 | |
| 1637 | def is_socket(self): |
| 1638 | """ |