0bb4036f25
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> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |