Method lrs::file::File::rel_real_path

Returns a canonicalized absolute path relative to this file.

Syntax

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

Arguments

NameDescription
path

The path to canonicalize.

Remarks

The path will not contain any /./, /../, or //.

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

See also