pub enum PaxRecord {
Show 16 variants
Atime(PaxValue<u64>),
Charset(PaxValue<Arc<str>>),
Comment(PaxValue<Arc<str>>),
Ctime(PaxValue<u64>),
Gid(PaxValue<u64>),
Gname(PaxValue<PaxString>),
HdrCharset(PaxValue<HdrCharset>),
LinkPath(PaxValue<PaxString>),
Mtime(PaxValue<u64>),
Path(PaxValue<PaxString>),
Realtime {
name: Arc<str>,
value: PaxValue<Arc<str>>,
},
Security {
name: Arc<str>,
value: PaxValue<Arc<str>>,
},
Size(PaxValue<u64>),
Uid(PaxValue<u64>),
Uname(PaxValue<PaxString>),
Vendor {
vendor: Arc<str>,
name: Arc<str>,
value: PaxValue<Arc<str>>,
},
}Expand description
A parsed pax extended-header record.
Variants§
Atime(PaxValue<u64>)
File access time in integral seconds; fractional seconds are discarded.
Charset(PaxValue<Arc<str>>)
Encoding of the following member’s file data.
Comment(PaxValue<Arc<str>>)
An uninterpreted archive comment.
Ctime(PaxValue<u64>)
File status-change time compatibility extension in integral seconds.
NOTE: newer versions of the pax spec don’t include this record. We support it for backwards compatibility.
See: https://www.opengroup.org/austin/aardvark/finaltext/xcubug.txt See: https://www.opengroup.org/austin/docs/austin_166.txt See: https://www.opengroup.org/austin/docs/austin_206.txt
Gid(PaxValue<u64>)
Numeric group identifier.
Gname(PaxValue<PaxString>)
Group name encoded according to the effective HdrCharset.
HdrCharset(PaxValue<HdrCharset>)
Encoding of pathname and user/group-name extended-header values.
LinkPath(PaxValue<PaxString>)
Link pathname encoded according to the effective HdrCharset.
Mtime(PaxValue<u64>)
File modification time in integral seconds; fractional seconds are discarded.
Path(PaxValue<PaxString>)
Member pathname encoded according to the effective HdrCharset.
Realtime
A reserved realtime.* extended attribute.
Fields
Security
A reserved security.* extended attribute.
Fields
Size(PaxValue<u64>)
Member payload size in octets.
Uid(PaxValue<u64>)
Numeric user identifier.
Uname(PaxValue<PaxString>)
User name encoded according to the effective HdrCharset.
Vendor
An implementation extension in a vendor.keyword namespace.