storage_common_stat

Function storage_common_stat 

Source
pub unsafe extern "C" fn storage_common_stat(
    storage: *mut Storage,
    path: *const c_char,
    fileinfo: *mut FileInfo,
) -> FS_Error
Expand description

Get information about a file or a directory.

§Arguments

  • storage - pointer to a storage API instance.
  • path - pointer to a zero-terminated string containing the path of the item in question.
  • fileinfo - pointer to the FileInfo structure to contain the info (may be NULL).

§Returns

FSE_OK if the info has been successfully received, any other error code on failure.