Function fs_extra::dir::remove[][src]

pub fn remove<P: AsRef<Path>>(path: P) -> Result<()>

Removes directory.

Example

extern crate fs_extra;
use fs_extra::dir::remove;

remove("source/dir1"); // remove dir1