Method lrs::file::File::rel_symlink

Creates a symlink relative to this file.

Syntax

impl File {
    fn rel_symlink<P, Q>(&self, target: P, link: Q) -> Result<(), Errno>
        where Q: ToCString,
              P: ToCString,
}

Arguments

NameDescription
target

The target of the link.

link

The path of the new link.

Remarks

If the paths are relative, this file must be a directory and the paths will be interpreted relative to it.

See also