]> git.proxmox.com Git - pxar.git/commit
decoder/accessor: allow for split input stream variant
authorChristian Ebner <c.ebner@proxmox.com>
Tue, 12 Mar 2024 14:06:44 +0000 (15:06 +0100)
committerChristian Ebner <c.ebner@proxmox.com>
Wed, 5 Jun 2024 07:24:22 +0000 (09:24 +0200)
commit3ee98e1072dd8b2ceec7244ce044e71fa805beff
treee14df0c9c752ae51adda0d01e5f12cf8db71f3dc
parent99d4f646be09a1206ad5aae08669926cec89d427
decoder/accessor: allow for split input stream variant

When a pxar archive was encoded using the split stream output
variant, access to the payload of regular files has to be redirected
to the corresponding dedicated input.

Allow to pass the split input variant to the decoder and accessor
instances to handle the split streams accordingly and decode split
stream archives.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
examples/apxar.rs
src/accessor/aio.rs
src/accessor/mod.rs
src/accessor/sync.rs
src/decoder/aio.rs
src/decoder/mod.rs
src/decoder/sync.rs
src/lib.rs
tests/compat.rs
tests/simple/main.rs