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

Method is_fifo

Lib/pathlib/__init__.py:931–938  ·  view source on GitHub ↗

Whether this path is a FIFO.

(self)

Source from the content-addressed store, hash-verified

929 return False
930
931 def is_fifo(self):
932 """
933 Whether this path is a FIFO.
934 """
935 try:
936 return S_ISFIFO(self.stat().st_mode)
937 except (OSError, ValueError):
938 return False
939
940 def is_socket(self):
941 """

Callers 5

expect_fileMethod · 0.95
test_is_fifo_falseMethod · 0.80
test_is_fifo_trueMethod · 0.80
test_is_socket_trueMethod · 0.80

Calls 2

statMethod · 0.95
S_ISFIFOFunction · 0.90

Tested by 5

expect_fileMethod · 0.76
test_is_fifo_falseMethod · 0.64
test_is_fifo_trueMethod · 0.64
test_is_socket_trueMethod · 0.64