Method lrs::file::File::rel_info

Returns information about a path relative to this file.

Syntax

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

Arguments

NameDescription
path

A path to the file whose information will be returned.

Return value

Returns information about the file.

Remarks

If the path is relative, this file must be a directory and the path will be interpreted relative to it. If the file at the path is a symlink, it will be resolved recursively and information about the first non-symlink target will be returned.

See also