remove_all_in_dir_no_xdev

Function remove_all_in_dir_no_xdev 

Source
fn remove_all_in_dir_no_xdev(d: &Dir, mount_err: bool) -> Result<()>
Expand description

Remove all entries in a directory, but do not traverse across distinct devices. If mount_err is true, then an error is returned if a mount point is found; otherwise it is silently ignored.