nstd_fs_metadata

Function nstd_fs_metadata 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn nstd_fs_metadata( path: &NSTDStr, ) -> NSTDFileMetadataResult
Available on crate feature fs only.
Expand description

Retrieves metadata about a file pointed to by path.

§Parameters:

  • const NSTDStr *path - A path to the file to retrieve metadata for.

§Returns

NSTDFileMetadataResult metadata - Metadata describing the file.

§Safety

path must be valid for reads.