Format

public enum Format

Represents the “format” of a TAR container: a minimal set of extensions to basic TAR format required to successfully read a particular container.

  • Pre POSIX format (aka “basic TAR format”).

    Declaration

    Swift

    case prePosix
  • “UStar” format introduced by POSIX IEEE P1003.1 standard.

    Declaration

    Swift

    case ustar
  • gnu

    “UStar”-like format with GNU extensions (e.g. special container entries for long file and link names).

    Declaration

    Swift

    case gnu
  • pax

    “PAX” format introduced by POSIX.1-2001 standard, a set of extensions to “UStar” format.

    Declaration

    Swift

    case pax