proxmox-backup/proxmox-backup-client
Maximiliano Sandoval 1cf52c6bb3 remove create & truncate when create_new is used
As per its documentation [1]:

> If .create_new(true) is set, .create() and .truncate() are ignored.

This gets rid of the "file opened with `create`, but `truncate`
behavior not defined " clippy warnings.

[1] https://doc.rust-lang.org/std/fs/struct.OpenOptions.html#method.create_new

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
2025-01-27 11:53:23 +01:00
..
src remove create & truncate when create_new is used 2025-01-27 11:53:23 +01:00
Cargo.toml move client binaries to tracing 2024-08-30 13:56:43 +02:00