(cls, name, type, encoding, errors)
return cls._create_header(info, USTAR_FORMAT, encoding, errors) + \
                cls._create_payload(name)
Return a GNUTYPE_LONGNAME or GNUTYPE_LONGLINK sequence
           for name.
Return a GNUTYPE_LONGNAME or GNUTYPE_LONGLINK sequence
           for name.
Return a GNUTYPE_LONGNAME or GNUTYPE_LONGLINK sequence for name .
def _create_gnu_long_header(cls, name, type, encoding, errors):
        """Return a GNUTYPE_LONGNAME or GNUTYPE_LONGLINK sequence
           for name.
        """
        name = name.encode(encoding, errors) + NUL

        info = {}
        info["name"] = "././@LongLink"
        info["type"] = type
        info["size"] = len(name)
        info["magic"] = GNU_MAGIC

        # create extended header + name blocks.
        return cls._create_header(info, USTAR_FORMAT, encoding, errors) + \
                cls._create_payload(name)
def _create_gnu_long_header ( cls , name , type , encoding , errors ) : name = name . encode ( encoding , errors ) + NUL info = { } info [ "name" ] = "././@LongLink" info [ "type" ] = type info [ "size" ] = len ( name ) info [ "magic" ] = GNU_MAGIC # create extended header + name blocks. return cls . _create_header ( info , USTAR_FORMAT , encoding , errors ) + cls . _create_payload ( name )