MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / taropen

Method taropen

tools/python-3.11.9-amd64/Lib/tarfile.py:1850–1855  ·  view source on GitHub ↗

Open uncompressed tar archive name for reading or writing.

(cls, name, mode="r", fileobj=None, **kwargs)

Source from the content-addressed store, hash-verified

1848
1849 @classmethod
1850 def taropen(cls, name, mode="r", fileobj=None, **kwargs):
1851 """Open uncompressed tar archive name for reading or writing.
1852 """
1853 if mode not in ("r", "a", "w", "x"):
1854 raise ValueError("mode must be 'r', 'a', 'w' or 'x'")
1855 return cls(name, mode, fileobj, **kwargs)
1856
1857 @classmethod
1858 def gzopen(cls, name, mode="r", fileobj=None, compresslevel=9, **kwargs):

Callers 4

openMethod · 0.80
gzopenMethod · 0.80
bz2openMethod · 0.80
xzopenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected