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

Method create_pax_global_header

Lib/tarfile.py:1135–1138  ·  view source on GitHub ↗

Return the object as a pax global header block sequence.

(cls, pax_headers)

Source from the content-addressed store, hash-verified

1133
1134 @classmethod
1135 def create_pax_global_header(cls, pax_headers):
1136 """Return the object as a pax global header block sequence.
1137 """
1138 return cls._create_pax_generic_header(pax_headers, XGLTYPE, "utf-8")
1139
1140 def _posix_split_name(self, name, encoding, errors):
1141 """Split a name longer than 100 chars into a prefix

Callers 1

__init__Method · 0.80

Calls 1

Tested by

no test coverage detected