get_file_info


Description:

[ Version ( since = "0.17.0" ) ]
public FileInfo? get_file_info (string path) throws Error

Get information for the given target.

Any symlink is automatically dereferenced, recursively. A non-existing or unreachable file returns an OK status and has a FileType of value garrow_file_type_not_found. An error status indicates a truly exceptional condition (low-level I/O error, etc.).

Parameters:

this

A FileSystem.

path

The path of the target.

Returns:

A FileInfo.