Contents

ArchiveHeader.FieldKey

A type that’s an alias for the field key structure.

Declaration

struct FieldKey

Overview

Apple Archive supports the following predefined keys:

ACL

An ArchiveHeader.Field.blob(key:size:offset:) enumeration that describes the access control list for directories and regular files only. For more information, see AAEntryACLBlob.

BTM

An ArchiveHeader.Field.timespec(key:value:) enumeration that describes the backup time.

CKS

An ArchiveHeader.Field.hash(key:hashFunction:value:) enumeration that describes the checksum of the entry data’s 32-bit cyclic redundancy check for regular files only.

CLC

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the clone-cluster identity for regular files only.

CTM

An ArchiveHeader.Field.timespec(key:value:) enumeration that describes the creation time.

DAT

An ArchiveHeader.Field.blob(key:size:offset:) enumeration that describes the entry data for regular files only.

DUZ

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the disk usage.

FLG

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the flags (st.st_flags).

GID

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the group identity (st.st_gid).

HLC

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the hard-link cluster identity for regular files only.

IDX

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the offset of the entry in the reference archive.

IDZ

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the size of the entry in the reference archive.

INO

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the inode number (st.st_ino).

LNK

An ArchiveHeader.Field.string(key:value:) enumeration that describes the symbolic link path for symbolic links only.

MOD

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the access modes (that is, the low 12 bits of st.st_mode).

MTM

An ArchiveHeader.Field.timespec(key:value:) enumeration that describes the modification time.

PAT

An ArchiveHeader.Field.string(key:value:) enumeration that describes the entry path.

SH1

An ArchiveHeader.Field.hash(key:hashFunction:value:) enumeration that describes the entry-data SHA1 hash for regular files only.

SH2

An ArchiveHeader.Field.hash(key:hashFunction:value:) enumeration that describes the entry-data SHA2-256 hash for regular files only.

SH3

An ArchiveHeader.Field.hash(key:hashFunction:value:) enumeration that describes the entry-data SHA2-384 hash for regular files only.

SH5

An ArchiveHeader.Field.hash(key:hashFunction:value:) enumeration that describes the entry-data SHA2-512 hash for regular files only.

SIZ

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the uncompressed data size for regular files only.

SLC

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the identical data-cluster identity for regular files only.

TYP

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the entry type (from the high bits of st.st_mode, one of AA_ENTRY_TYPE_*).

UID

An ArchiveHeader.Field.uint(key:value:) enumeration that describes the user identity (st.st_uid).

XAT

An ArchiveHeader.Field.blob(key:size:offset:) enumeration that describes the entry’s extended attributes. For more information, see AAEntryXATBlob.

Topics

Field Key Creation

Instance Properties

Equatable Requirements

Hash Values

See Also

Manipulating Fields