TarError
public enum TarError: Error
Represents an error, which happened during processing TAR container. It may indicate that either container is damaged or it might not be TAR container at all.
-
Size of data is too small, even to contain only one header.
Declaration
Swift
case tooSmallFileIsPassed
-
Failed to process a TAR header’s field.
Declaration
Swift
case wrongField
-
Computed checksum of a header doesn’t match the value stored in container.
Declaration
Swift
case wrongHeaderChecksum
-
Entry from PAX extended header is in incorrect format.
Declaration
Swift
case wrongPaxHeaderEntry
View on GitHub
TarError Enumeration Reference