proxmox-backup/src/tools
Dominik Csapak fdce52aa99 tools: add zip module
This modules contains the 'ZipEncoder' struct, which wraps an async writer,
to create a ZIP archive on the fly

To create a ZIP file, have a target that implements AsyncWrite,
give it to ZipEncoder::new, add entries via 'add_entry' and
at the end, call 'finish'

for now, this does not implement compression (uses ZIPs STORE mode), and
does not support empty directories or hardlinks (or any other special
files)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-10-21 10:04:18 +02:00
..
disks various typo fixes 2020-08-25 18:52:31 +02:00
systemd avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
acl.rs more clippy fixups 2020-10-14 13:58:35 +02:00
async_io.rs update a chunk of stuff to the hyper release 2019-12-13 11:24:41 +01:00
borrow.rs tools: borrow: implement Deref for Tied 2019-02-13 11:03:09 +01:00
broadcast_future.rs typo fixes all over the place 2020-05-30 16:39:08 +02:00
cert.rs refactor CertInfo to tools 2020-07-10 11:08:53 +02:00
daemon.rs build: bump nix dependency 2020-10-19 12:12:33 +02:00
disks.rs various typo fixes 2020-08-25 18:52:31 +02:00
file_logger.rs file logger: add option to make the backup user the log file owner 2020-10-19 10:37:26 +02:00
format.rs proxmox-backup-client: use HumanByte to render snapshot size 2020-10-20 11:43:48 +02:00
fs.rs backup: use shared flock for base snapshot 2020-10-15 07:09:34 +02:00
fuse_loop.rs more clippy fixups 2020-10-14 13:58:35 +02:00
logrotate.rs logrotate: drop useless comment 2020-10-20 11:11:36 +02:00
loopdev.rs loopdev: add module doc 2020-10-08 08:34:39 +02:00
lru_cache.rs lru_cache: restrict and annotate Send impl 2020-06-19 09:37:34 +02:00
nom.rs fix typo 2020-06-26 09:12:29 +02:00
parallel_handler.rs src/tools/parallel_handler.rs: remove lifetime hacks, require 'static 2020-10-01 14:52:48 +02:00
process_locker.rs typo fixes all over the place 2020-05-30 16:39:08 +02:00
runtime.rs src/tools/runtime.rs: implement get_runtime_with_builder 2020-07-07 10:11:04 +02:00
socket.rs set reasonable TCP keepalive timeout 2020-10-19 14:01:17 +02:00
statistics.rs statistics: covariance(): avoid allocation 2020-06-09 13:57:27 +02:00
std_channel_writer.rs switch from failure to anyhow 2020-04-17 18:43:30 +02:00
systemd.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
ticket.rs avoid chrono dependency, depend on proxmox 0.3.8 2020-09-15 07:12:57 +02:00
wrapped_reader_stream.rs add AsyncReaderStream 2020-06-23 06:33:31 +02:00
xattr.rs tools/xattr: a char from C is not universally a rust i8 2020-07-19 19:46:27 +02:00
zip.rs tools: add zip module 2020-10-21 10:04:18 +02:00