proxmox-backup/pbs-client
Wolfgang Bumiller 0bb4036f25 pbs-client: pxar: drop link_to_pathbuf
pxar's Hardlink and Symlink structs implement `AsRef<OsStr>`
and have an `.as_os_str()` method.

Simply use `Path::new(link)`.

Also, the function was not very well written, and we don't
always need an owned copy.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2022-04-13 10:18:31 +02:00
..
src pbs-client: pxar: drop link_to_pathbuf 2022-04-13 10:18:31 +02:00
Cargo.toml pbs-client: add 'create_tar' helper function 2022-04-13 10:05:08 +02:00