uhh create dir

This commit is contained in:
altalk23 2024-01-20 23:58:30 +03:00
parent b22ed7de21
commit f6e1958ae8

View file

@ -312,6 +312,8 @@ public:
} }
Result<> extractAllTo(Path const& dir) { Result<> extractAllTo(Path const& dir) {
GEODE_UNWRAP(file::createDirectoryAll(dir));
GEODE_UNWRAP( GEODE_UNWRAP(
mzTry(mz_zip_goto_first_entry(m_handle)) mzTry(mz_zip_goto_first_entry(m_handle))
.expect("Unable to navigate to first entry (code {error})") .expect("Unable to navigate to first entry (code {error})")