Skip to main content

Module write

Module write 

Source
Expand description

Strict POSIX-pax block construction.

This module builds deterministic pax framing blocks without performing I/O. Higher-level crates remain responsible for writing payload bytes and for deciding which filesystem entries are appropriate to archive.

Structs§

PaxMember
Metadata needed to frame one supported pax archive member.

Enums§

FramingWriteError
A failure while constructing strict pax framing blocks.

Functions§

append_pax_record
Appends one PAX extended-header record without block padding to output.
end_marker_bytes
Returns the required two-block POSIX end-of-archive marker as contiguous bytes.
frame_pax_member_into
Writes one local pax header and its ordinary member header into buffer.
payload_padding
Returns the zero padding required after a payload of size meaningful bytes.