Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix io error when extracing zip archive containing folders #68

Merged
merged 2 commits into from
Feb 24, 2021
Merged

Fix io error when extracing zip archive containing folders #68

merged 2 commits into from
Feb 24, 2021

Commits on Feb 20, 2021

  1. Fix io error when extracing zip archive containing folders

    If a binary is contained in a folder in a zip archive (i.e. `bin_path_in_archive` has a prefix),
    extracting will fail with an io error "No such file or directory", because `fs::File::create` in
    `Extract::extract_into` and `Extract::extract_path` is passed the path of the binary including the
    zipped parent folder, which does not exist yet.
    
    The commit adds tests for these cases and cleans up some existing tests.
    t-mw committed Feb 20, 2021
    Configuration menu
    Copy the full SHA
    97787bf View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2021

  1. Configuration menu
    Copy the full SHA
    c7c7ee3 View commit details
    Browse the repository at this point in the history