Home
last modified time | relevance | path

Searched refs:RepoPath (Results 1 – 8 of 8) sorted by relevance

/development/tools/external_crates/crate_health/src/
Drepo_path.rs19 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 …]
Dpseudo_crate.rs25 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
Dcrate_type.rs32 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
Dandroid_bp.rs27 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()
Dmigration.rs26 CrateCollection, Migratable, NameAndVersionMap, PseudoCrate, RepoPath, VersionMatch,
96 source_dir: RepoPath, in migrate() argument
97 pseudo_crate_dir: RepoPath, in migrate() argument
Dmain.rs21 NameAndVersionMap, NamedAndVersioned, RepoPath,
194 RepoPath::new( in main()
198 RepoPath::new(args.repo_root.clone(), &"out/rust-crate-migration-report"), in main()
Dlib.rs51 pub use self::repo_path::RepoPath;
/development/tools/external_crates/crate_health/src/bin/
Dmigration_report.rs20 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()