/// Return an error explaining what symlink failed
Return an error explaining what symlink failed
Return an error explaining what symlink failed
fn symlink(source: std::io::Error, src: &Path, dest: &Path) -> AddRootError {
        AddRootError {
            source,
            msg: format!("Failed to symlink {} to {}", src.display(), dest.display()),
        }
    }
fn symlink ( source : std :: io :: Error , src : & Path , dest : & Path ) -> AddRootError { AddRootError { source , msg : format ! ( " " src display ( ) dest display ( ) ) , } }
Return an error explaining what symlink failed
Return an error explaining what symlink failed
source
std::io::Error
src
&Path
dest
&Path