5
0
mirror of git://git.proxmox.com/git/pxar.git synced 2024-12-22 21:33:50 +03:00
Commit Graph

258 Commits

Author SHA1 Message Date
Wolfgang Bumiller
9de9cca906 hide accessor::aio for now
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-20 11:17:40 +01:00
Wolfgang Bumiller
5cf335be1d cleanup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-20 11:16:35 +01:00
Wolfgang Bumiller
c76d3f980b pxarcmd example: implement 'cat'
and fix FileContentImpl offsets

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-19 16:31:23 +01:00
Wolfgang Bumiller
dc4a2854c0 implement lookup over multiple components
add a pxarcmd test example
make 'failure' an optional dependency as we only use it in
examples right now.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-19 16:03:50 +01:00
Wolfgang Bumiller
98b894a968 accessor: efficient iterator method alternatives
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-19 13:47:50 +01:00
Wolfgang Bumiller
29c17fc072 huge accessor refactoring
Turn <'a> into <T: Clone + ReadAt>. We can still use `&'a
dyn ReadAt` in its place, but we can now also support using
an `Arc<File>` to create an Accessor of a 'static lifetime
for more convenient storage and reuse. This way the Accessor
can be thrown away after calling `open_root`.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-19 10:54:14 +01:00
Wolfgang Bumiller
05005b1469 let FileEntry deref to Entry
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-18 14:19:38 +01:00
Wolfgang Bumiller
6cd4f635b6 import
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-02-18 14:08:02 +01:00