This commit is contained in:
parent
303d29bbdb
commit
0c47d6ccd0
1 changed files with 0 additions and 8 deletions
|
@ -48,10 +48,6 @@ impl MirrorRepository {
|
|||
|
||||
/// Get the `.db.tar.gz` content for the repository of `arch`
|
||||
pub async fn db_content(&self, arch: Architecture, mirrorlist: &[String]) -> Option<Vec<u8>> {
|
||||
if let Some(content) = self.inner.db_content(arch.clone()) {
|
||||
return Some(content);
|
||||
}
|
||||
|
||||
self.download_file(
|
||||
&format!("{}.db.tar.gz", self.inner.name),
|
||||
self.inner
|
||||
|
@ -67,10 +63,6 @@ impl MirrorRepository {
|
|||
|
||||
/// Get the `.db.tar.gz.sig` content for the repository of `arch`
|
||||
pub async fn sig_content(&self, arch: Architecture, mirrorlist: &[String]) -> Option<Vec<u8>> {
|
||||
if let Some(content) = self.inner.sig_content(arch.clone()) {
|
||||
return Some(content);
|
||||
}
|
||||
|
||||
self.download_file(
|
||||
&format!("{}.db.tar.gz.sig", self.inner.name),
|
||||
self.inner
|
||||
|
|
Loading…
Add table
Reference in a new issue