fn resolve_link(&self, link: &Path) -> io::Result<Path> {
        let target = Path::from(read_link(link.to_path_buf())?);
        let resolved = if target.is_relative() {
            link.parent().unwrap().join(target)
        } else {
            target
        };
        Ok(self.absolute(resolved))
    }
/// Returns the absolute target path of a symbolic link
Returns the absolute target path of a symbolic link
Returns the absolute target path of a symbolic link
fn resolve_link(&self, link: &Path) -> io::Result<Path> {
        let target = Path::from(read_link(link.to_path_buf())?);
        let resolved = if target.is_relative() {
            link.parent().unwrap().join(target)
        } else {
            target
        };
        Ok(self.absolute(resolved))
    }
fn resolve_link ( & self , link : & Path ) -> io :: Result < Path > { let target = Path :: from ( read_link ( link . to_path_buf ( ) ) ? ) ; let resolved = if target . is_relative ( ) { link . parent ( ) . unwrap ( ) . join ( target ) } else { target } ; Ok ( self . absolute ( resolved ) ) }
Returns the absolute target path of a symbolic link
Returns the absolute target path of a symbolic link
&self
link
&Path
&self
link
&Path