Function symlink_path

fn symlink_path<P: AsRef<crate::path::Path>, U: AsRef<crate::path::Path>>(old_path: P, new_path: U) -> io::Result<()>

Creates a symbolic link.

This is a convenience API similar to std::os::unix::fs::symlink and std::os::windows::fs::symlink_file and std::os::windows::fs::symlink_dir.