pub unsafe extern "C" fn storage_common_remove(
storage: *mut Storage,
path: *const c_char,
) -> FS_ErrorExpand description
Remove a file or a directory.
The directory must be empty. The file or the directory must NOT be open.
§Arguments
storage- pointer to a storage API instance.path- pointer to a zero-terminated string containing the path of the item to be removed.
§Returns
FSE_OK if the file or directory has been successfully removed, any other error code on failure.