Home
last modified time | relevance | path

Searched refs:ensure_exists_and_empty (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/development/tools/external_crates/crate_tool/src/
H A Dpseudo_crate.rs30 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()
H A Dmanaged_crate.rs38 ensure_exists_and_empty,
306 ensure_exists_and_empty(&staging_path)?; in copy_to_staging()
H A Dlib.rs60 pub fn ensure_exists_and_empty(dir: impl AsRef<Path>) -> Result<()> { in ensure_exists_and_empty() function