Function lrs::file::symlink

Creates a symbolic link.

Syntax

fn symlink<P, Q>(source: P, link: Q) -> Result<(), Errno>
    where P: ToCString,
          Q: ToCString,

Arguments

NameDescription
source

The path to be linked to.

link

The path of the new link.

Remarks

If the paths are relative, they will be interpreted relative to the current working directory.

See also