Function gix_fs::symlink::create

source ·
pub fn create(original: &Path, link: &Path) -> Result<()>
Expand description

Create a new symlink at link which points to original.

Note that if a symlink target (the original) isn’t present on disk, it’s assumed to be a file, creating a dangling file symlink. This is similar to a dangling symlink on Unix, which doesn’t have to care about the target type though.