Skip to main content

create_symlink

Function create_symlink 

Source
pub fn create_symlink(target: &Path, link: &Path, like: &FileType) -> Result<()>
Expand description

Create a symlink at link pointing at target, of the same kind as the link being copied (like, its own file type). Windows has separate file and directory links; a junction is recreated as a directory link.