diff options
| author | 2025-01-13 20:58:36 -0600 | |
|---|---|---|
| committer | 2025-01-13 20:58:36 -0600 | |
| commit | ff428f36935cefd2b6d8ea6ba4a0572d75d6512d (patch) | |
| tree | cf8b71137247ba74c4a606146d45ec2791725877 /src/launcher/download.rs | |
| parent | more stuff (diff) | |
library downloads complete
Diffstat (limited to 'src/launcher/download.rs')
| -rw-r--r-- | src/launcher/download.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/launcher/download.rs b/src/launcher/download.rs index ec89a15..813117c 100644 --- a/src/launcher/download.rs +++ b/src/launcher/download.rs @@ -206,6 +206,10 @@ impl VerifiedDownload { self } + pub fn get_path(&self) -> &Path { + &self.path + } + pub async fn make_dirs(&self) -> Result<(), io::Error> { fs::create_dir_all(self.path.parent().expect("download created with no containing directory (?)")).await } |
