CPIOArchiveKit Documentation

Enumeration CPIOArchive​Error

public enum CPIOArchiveError: Error  

Errors that may occur while writing or reading CPIO archives.

%3 CPIOArchiveError CPIOArchiveError Error Error CPIOArchiveError->Error

Conforms To

Error

Enumeration Cases

empty​Archive

case emptyArchive

The archive was empty.

invalid​Archive

case invalidArchive

The archive was invalid. It may not contain a global header, the file headers may be ill formatted, or something else my be wrong.

invalid​Magic​Bytes

case invalidMagicBytes

The archive did not contain the correct sequence of bytes that identifies it as a cpio archive.

missing​Magic​Bytes

case missingMagicBytes

The archive did not contain the sequence of bytes that identifies it as a cpio archive.

invalid​Header

case invalidHeader

The header may contain invalid characters and/or bytes, or may be missing certain fields.