Retrieves information about a file.
fn info<P>(path: P) -> Result<Info, Errno>
where P: ToCString,| Name | Description |
|---|---|
| path | The path of the file whose information is to be retrieved. |
The file information.
If the path refers to a symbolic link, then it will recursively be resolved and the information of the first non-link target will be returned.
If the path is relative, it will be interpreted relative to the current working directory.