Whether this path is a FIFO.
(self)
| 1343 | return False |
| 1344 | |
| 1345 | def is_fifo(self): |
| 1346 | """ |
| 1347 | Whether this path is a FIFO. |
| 1348 | """ |
| 1349 | try: |
| 1350 | return S_ISFIFO(self.stat().st_mode) |
| 1351 | except OSError as e: |
| 1352 | if not _ignore_error(e): |
| 1353 | raise |
| 1354 | # Path doesn't exist or is a broken symlink |
| 1355 | # (see http://web.archive.org/web/20200623061726/https://bitbucket.org/pitrou/pathlib/issues/12/ ) |
| 1356 | return False |
| 1357 | except ValueError: |
| 1358 | # Non-encodable path |
| 1359 | return False |
| 1360 | |
| 1361 | def is_socket(self): |
| 1362 | """ |
nothing calls this directly
no test coverage detected