summaryrefslogtreecommitdiff
path: root/src/cache.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2023-05-25 11:16:16 +0200
committerfxqnlr <[email protected]>2023-05-25 11:16:16 +0200
commit529d52534c300aec4a6e3e9e08f9762a401f7086 (patch)
tree463d3538dd295bbf6416ca3f141a1395d6cd1b76 /src/cache.rs
parent016e1d8d760113a64afcc5d516f08010cb566d68 (diff)
downloadmodlist-529d52534c300aec4a6e3e9e08f9762a401f7086.tar
modlist-529d52534c300aec4a6e3e9e08f9762a401f7086.tar.gz
modlist-529d52534c300aec4a6e3e9e08f9762a401f7086.zip
added more progress
Diffstat (limited to 'src/cache.rs')
-rw-r--r--src/cache.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cache.rs b/src/cache.rs
index c928670..1e22091 100644
--- a/src/cache.rs
+++ b/src/cache.rs
@@ -32,6 +32,5 @@ pub fn get_cached_versions(path: &str) -> HashMap<String, String> {
32pub fn copy_cached_version(version_path: &str, download_path: &str) { 32pub fn copy_cached_version(version_path: &str, download_path: &str) {
33 let versplit: Vec<&str> = version_path.split('/').collect(); 33 let versplit: Vec<&str> = version_path.split('/').collect();
34 let download = format!("{}/{}", download_path, versplit[versplit.len() - 1]); 34 let download = format!("{}/{}", download_path, versplit[versplit.len() - 1]);
35 // println!("{:#?}", download);
36 copy(version_path, download).unwrap(); 35 copy(version_path, download).unwrap();
37} 36}