Home
last modified time | relevance | path

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

/development/tools/external_crates/crate_tool/src/
Dcrate_collection.rs28 pub struct CrateCollection { struct
33 impl CrateCollection { argument
34 pub fn new<P: Into<PathBuf>>(repo_root: P) -> CrateCollection { in new() argument
35 CrateCollection { crates: BTreeMap::new(), repo_root: repo_root.into() } in new()
Dpseudo_crate.rs31 use crate::{crate_collection::CrateCollection, ensure_exists_and_empty, RunQuiet};
40 crates: OnceCell<CrateCollection>,
120 fn crates(&self) -> &CrateCollection { in crates() argument
135 let mut crates = CrateCollection::new(self.path.root()); in crates()
Dmanaged_repo.rs38 crate_collection::CrateCollection,
115 fn legacy_crates_for(&self, crate_name: &str) -> Result<CrateCollection> { in legacy_crates_for() argument
120 fn legacy_crates(&self) -> Result<CrateCollection> { in legacy_crates() argument
125 fn new_cc(&self) -> CrateCollection { in new_cc() argument
126 CrateCollection::new(self.path.root()) in new_cc()