MCPcopy Index your code
hub / github.com/RustPython/RustPython / makefifo

Method makefifo

Lib/tarfile.py:2677–2683  ·  view source on GitHub ↗

Make a fifo called targetpath.

(self, tarinfo, targetpath)

Source from the content-addressed store, hash-verified

2675 "extracted as regular file." % tarinfo.type)
2676
2677 def makefifo(self, tarinfo, targetpath):
2678 """Make a fifo called targetpath.
2679 """
2680 if hasattr(os, "mkfifo"):
2681 os.mkfifo(targetpath)
2682 else:
2683 raise ExtractError("fifo not supported by system")
2684
2685 def makedev(self, tarinfo, targetpath):
2686 """Make a character or block device called targetpath.

Callers 1

_extract_memberMethod · 0.95

Calls 2

hasattrFunction · 0.85
ExtractErrorClass · 0.85

Tested by

no test coverage detected