FileSystem.getFileInfo

arrow.file_info.FileInfo getFileInfo(string path)

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 #GArrowFileType of value [arrow.types.FileType.NotFound]. An error status indicates a truly exceptional condition (low-level I/O error, etc.).

Parameters

pathThe path of the target.

Returns

A #GArrowFileInfo.

Throws

[ErrorWrap]