Skip to main content

remove_directory_recursive

Function remove_directory_recursive 

Source
pub fn remove_directory_recursive(root: &mut Value) -> bool
Expand description

Applies the bounded runtime contract for remove_directory_recursive.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::business::remove_directory_recursive holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::business::remove_directory_recursive(std::path::Path::new("."));