Function lrs::file::list_attr_no_follow

Creates an iterator over all attributes in a file without following symbolic links.

Syntax

fn list_attr_no_follow<P>(path: P) -> Result<ListAttrIterator, Errno>
    where P: ToCString,

Arguments

NameDescription
path

The path of the file whose attributes we're interested in.

Return value

Returns an iterator over the attributes in the file.

Remarks

Use list_attr_size_no_follow to get the required buffer size. It is an error for buf to have length 0.

If the path refers to a symbolic link, an Iterator over the attributes of the link is returned.

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

See also