Function lrs::file::info_no_follow

Retrieves information about a file without following symbolic links.

Syntax

fn info_no_follow<P>(path: P) -> Result<Info, Errno>
    where P: ToCString,

Arguments

NameDescription
path

The path of the file whose information is to be retrieved.

Return value

The file information.

Remarks

This function does not follow symbolic links and always returns information about the file specified by the path.

If the path is relative, it will be interpreted relative to the current working directory.

See also