Searched refs:ensure_exists_and_empty (Results 1 – 3 of 3) sorted by relevance
30 use crate::{crate_collection::CrateCollection, ensure_exists_and_empty, RunQuiet};158 ensure_exists_and_empty(&self.path)?; in init()175 ensure_exists_and_empty(&self.path.join("src")?)?; in init()
38 ensure_exists_and_empty,306 ensure_exists_and_empty(&staging_path)?; in copy_to_staging()
60 pub fn ensure_exists_and_empty(dir: impl AsRef<Path>) -> Result<()> { in ensure_exists_and_empty() function