Searched refs:RepoPath (Results 1 – 8 of 8) sorted by relevance
/development/tools/external_crates/crate_health/src/ |
D | repo_path.rs | 19 pub struct RepoPath { struct 24 impl Display for RepoPath { argument 30 impl RepoPath { implementation 31 pub fn new<P: Into<PathBuf>, Q: Into<PathBuf>>(root: P, path: Q) -> RepoPath { in new() argument 36 RepoPath { root, path } in new() 47 pub fn join(&self, path: &impl AsRef<Path>) -> RepoPath { in join() argument 48 RepoPath::new(self.root.clone(), self.path.join(path)) in join() 50 pub fn with_same_root<P: Into<PathBuf>>(&self, path: P) -> RepoPath { in with_same_root() argument 51 RepoPath::new(self.root.clone(), path) in with_same_root() 61 let p = RepoPath::new(&"/foo", &"bar"); in test_basic() [all …]
|
D | pseudo_crate.rs | 25 use crate::{ensure_exists_and_empty, NamedAndVersioned, RepoPath}; 41 path: RepoPath, 45 pub fn new(path: RepoPath) -> PseudoCrate { in new() 89 pub fn get_path(&self) -> &RepoPath { in get_path() argument
|
D | crate_type.rs | 32 NameAndVersionRef, NamedAndVersioned, RepoPath, 39 path: RepoPath, 69 path: RepoPath::new(root.clone(), relpath), in new() 93 pub fn path(&self) -> &RepoPath { in path() argument 96 pub fn android_bp(&self) -> RepoPath { in android_bp() argument 99 pub fn cargo_embargo_json(&self) -> RepoPath { in cargo_embargo_json() argument 102 pub fn staging_path(&self) -> RepoPath { in staging_path() argument 107 pub fn patch_dir(&self) -> RepoPath { in patch_dir() argument
|
D | android_bp.rs | 27 use crate::{Crate, NameAndVersion, NameAndVersionMap, NamedAndVersioned, RepoPath}; 54 pub(crate) fn generate_android_bp(staging_path: &RepoPath) -> Result<Output> { in generate_android_bp() 67 fn run_cargo_embargo(staging_path: &RepoPath) -> Result<Output> { in run_cargo_embargo()
|
D | migration.rs | 26 CrateCollection, Migratable, NameAndVersionMap, PseudoCrate, RepoPath, VersionMatch, 96 source_dir: RepoPath, in migrate() argument 97 pseudo_crate_dir: RepoPath, in migrate() argument
|
D | main.rs | 21 NameAndVersionMap, NamedAndVersioned, RepoPath, 194 RepoPath::new( in main() 198 RepoPath::new(args.repo_root.clone(), &"out/rust-crate-migration-report"), in main()
|
D | lib.rs | 51 pub use self::repo_path::RepoPath;
|
/development/tools/external_crates/crate_health/src/bin/ |
D | migration_report.rs | 20 default_output_dir, default_repo_root, maybe_build_cargo_embargo, migrate, RepoPath, 43 RepoPath::new(args.repo_root.clone(), &"external/rust/crates"), in main() 44 RepoPath::new(args.repo_root.clone(), &"out/rust-crate-migration-report"), in main()
|