Searched refs:ensure_exists_and_empty (Results 1 – 3 of 3) sorted by relevance
25 use crate::{ensure_exists_and_empty, NamedAndVersioned, RepoPath};55 ensure_exists_and_empty(&self.path.abs())?; in init()
91 pub fn ensure_exists_and_empty(dir: &impl AsRef<Path>) -> Result<()> { in ensure_exists_and_empty() function
31 copy_dir, ensure_exists_and_empty, name_and_version::IsUpgradableTo, CrateError,195 ensure_exists_and_empty(&staging_path_absolute)?; in stage_crate()