Function std::os::windows::fs::symlink_dir
[−]
[src]
pub fn symlink_dir<P: AsRef<Path>, Q: AsRef<Path>>(src: P, dst: Q) -> Result<()>
Creates a new directory symlink on the filesystem.
The dst
path will be a directory symbolic link pointing to the src
path.
Examples
fn main() { use std::os::windows::fs; fn foo() -> std::io::Result<()> { try!(fs::symlink_file("a", "b")); Ok(()) } }use std::os::windows::fs; try!(fs::symlink_file("a", "b"));