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

Method makefifo

Lib/tarfile.py:2696–2702  ·  view source on GitHub ↗

Make a fifo called targetpath.

(self, tarinfo, targetpath)

Source from the content-addressed store, hash-verified

2694 "extracted as regular file." % tarinfo.type)
2695
2696 def makefifo(self, tarinfo, targetpath):
2697 """Make a fifo called targetpath.
2698 """
2699 if hasattr(os, "mkfifo"):
2700 os.mkfifo(targetpath)
2701 else:
2702 raise ExtractError("fifo not supported by system")
2703
2704 def makedev(self, tarinfo, targetpath):
2705 """Make a character or block device called targetpath.

Callers 1

_extract_memberMethod · 0.95

Calls 1

ExtractErrorClass · 0.85

Tested by

no test coverage detected