Function cli_xtask::fs::create_or_cleanup_dir
source · pub fn create_or_cleanup_dir(dir: impl AsRef<Utf8Path>) -> Result<()>Expand description
Create a new directory if it doesn’t exist, or remove all its contents if exists.