cap_primitives::fs

Function remove_open_dir_all

Source
pub fn remove_open_dir_all(dir: File) -> Result<()>
Expand description

Given an open directory handle, recursively delete the contents of the directory plus the directory itself.