storage_simply_remove_recursive

Function storage_simply_remove_recursive 

Source
pub unsafe extern "C" fn storage_simply_remove_recursive(
    storage: *mut Storage,
    path: *const c_char,
) -> bool
Expand description

Recursively remove a file or a directory.

Unlike storage_simply_remove(), the directory does not need to be empty.

§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.