Home
last modified time | relevance | path

Searched refs:url (Results 1 – 15 of 15) sorted by relevance

/DADK/dadk-user/src/executor/
H A Dsource.rs25 url: String,
33 pub fn new(url: String, branch: Option<String>, revision: Option<String>) -> Self { in new()
35 url, in new()
44 if self.url.is_empty() { in validate()
45 return Err(Error::msg("url is empty")); in validate()
70 self.url = self.url.trim().to_string(); in trim()
95 self.url, self.branch, self.revision in prepare()
125 cmd.arg("remote").arg("get-url").arg("origin"); in check_repo()
141 Ok(r == self.url) in check_repo()
23 url: String, global() field
492 url: String, global() field
530 let url = Url::parse(&self.url).unwrap(); download_unzip() localVariable
[all...]
H A Dsource.rs25 url: String, field
33 pub fn new(url: String, branch: Option<String>, revision: Option<String>) -> Self { in new()
35 url, in new()
44 if self.url.is_empty() { in validate()
70 self.url = self.url.trim().to_string(); in trim()
95 self.url, self.branch, self.revision in prepare()
141 Ok(r == self.url) in check_repo()
157 .arg(self.url.as_str()); in set_url()
259 cmd.arg("clone").arg(&self.url).arg(".").arg("--recursive"); in clone_repo()
497 url: String, field
[all …]
/DADK/dadk-user/src/utils/
H A Dfile.rs15 pub fn download_file(url: &str, path: &Path) -> Result<(), Box<dyn std::error::Error>> { in download_file()
16 let tempurl = Url::parse(url).expect("failed to parse the url"); in download_file()
19 .expect("connot be base url") in download_file()
21 .expect("failed to get the filename from the url"); in download_file()
25 let mut response = client.get(url).send()?; in download_file()
H A Dfile.rs15 pub fn download_file(url: &str, path: &Path) -> Result<(), Box<dyn std::error::Error>> { in download_file()
16 let tempurl = Url::parse(url).expect("failed to parse the url"); in download_file()
25 let mut response = client.get(url).send()?; in download_file()
/DADK/dadk-config/src/boot/
H A Duboot.rs82 let url = config.full_download_url(TargetArch::RiscV64); in test_full_download_url_riscv64() localVariable
84 url, in test_full_download_url_riscv64()
/DADK/tests/data/dadk_config_v1/
H A Dapp_target_arch_x86_64_0_1_0.dadk8 "url": "1",
H A Dapp_target_arch_riscv64_only_0_1_0.dadk8 "url": "1",
H A Dapp_target_arch_x86_64_only_0_1_0.dadk8 "url": "1",
H A Dapp_all_target_arch_0_1_0.dadk8 "url": "1",
H A Dapp_target_arch_empty_should_fail_0_1_0.dadk8 "url": "1",
H A Dapp_target_arch_x86_64_uppercase_0_1_0.dadk8 "url": "1",
/DADK/dadk-user/templates/config/install_from_prebuilt/
H A Dtest_archive.toml
/DADK/dadk-user/templates/config/build_from_source/
H A Dtest_archive.toml
/DADK/dadk-user/src/console/
H A Dnew_config.rs
/DADK/dadk-config/templates/config/
H A Dboot.toml55 download-url = "https://mirrors.dragonos.org.cn/pub/third_party/u-boot"