pub fn symlink_file<S, D>(src: S, dest: D) -> io::Result<()>
where
    S: AsRef<Path>,
    D: AsRef<Path>,
{
    #[cfg(windows)]
    return std::os::windows::fs::symlink_file(src, dest);

    #[cfg(unix)]
    return std::os::unix::fs::symlink(src, dest);
}
/// Create a symlink. The `dst` path will be a symbolic link pointing to the `src` path.
Create a symlink. The `dst` path will be a symbolic link pointing to the `src` path.
Create a symlink . The ` dst ` path will be a symbolic link pointing to the ` src ` path .
pub fn symlink_file<S, D>(src: S, dest: D) -> io::Result<()>
where
    S: AsRef<Path>,
    D: AsRef<Path>,
{
    #[cfg(windows)]
    return std::os::windows::fs::symlink_file(src, dest);
    #[cfg(unix)]
    return std::os::unix::fs::symlink(src, dest);
}
pub fn symlink_file < S , D > ( src : S , dest : D ) -> io :: Result < ( ) > where S : AsRef < Path > , D : AsRef < Path > , { # [ cfg ( windows ) ] return std :: os :: windows :: fs :: symlink_file ( src , dest ) ; # [ cfg ( unix ) ] return std :: os :: unix :: fs :: symlink ( src , dest ) ; }
Create a symlink.
Create a symlink .
src
S
dest
D
src
S
dest
D