Method lrs::file::File::rel_remove

Removes a link.

Syntax

impl File {
    fn rel_remove<P>(&self, path: P) -> Result<(), Errno>
        where P: ToCString,
}

Arguments

NameDescription
path

The path to be removed.

Remarks

If the path is relative, this file must be a directory and the path will be interpreted relative to it. If the path refers to a directory, the directory has to be empty.

See also