5
0
mirror of git://git.proxmox.com/git/pxar.git synced 2024-12-21 17:33:52 +03:00
Go to file
Christian Ebner 0983094c87 format/encoder/decoder: new pxar entry type Version
Introduces a new pxar format entry type `Version` and the associated
encoder and decoder methods. The format version entry is only allowed
once, as the first entry of the pxar archive, marked with a
`PXAR_FORMAT_VERSION` header followed by the encoded version number.
If not present, the default format version 1 is assumed as encoding
format for the archive.

The entry allows to early detect incompatibility with an encoded
archive and bail or switch mode based on the encountered version.

The format version entry is not backwards compatible to pxar format
version 1.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2024-06-05 09:24:22 +02:00
.cargo add .cargo/config to use local repos 2020-05-18 10:38:54 +02:00
debian d/changelog: fix typo 2023-07-31 15:45:17 +02:00
examples format/encoder/decoder: new pxar entry type Version 2024-06-05 09:24:22 +02:00
src format/encoder/decoder: new pxar entry type Version 2024-06-05 09:24:22 +02:00
tests format/encoder/decoder: new pxar entry type Version 2024-06-05 09:24:22 +02:00
.buildbot.yml update buildbot.yml for tokio 1.18 2022-07-28 14:54:24 +02:00
.gitignore ignore testdir 2020-03-05 10:46:18 +01:00
Cargo.toml bump version to 0.10.2-1 2022-10-27 15:28:22 +02:00
Makefile bump upload target 2022-10-27 15:31:33 +02:00
rustfmt.toml import 2020-02-18 14:08:02 +01:00
TODO.rst Add TODO file 2020-06-26 08:59:03 +02:00