Function git_tempfile::remove_dir::empty_until_boundary [−][src]
pub fn empty_until_boundary<'a>(
delete_dir: &'a Path,
boundary_dir: &'a Path
) -> Result<&'a Path>
Expand description
Delete all empty directories from delete_dir upward and until (not including) the boundary_dir.
Note that boundary_dir must contain delete_dir or an error is returned, otherwise delete_dir is returned on success.