pub unsafe extern "C" fn storage_simply_remove(
storage: *mut Storage,
path: *const c_char,
) -> boolExpand description
Remove a file or a directory.
The following conditions must be met:
- 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 item path.
§Returns
true on success or if the item does not exist, false otherwise.