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

Unarchive equivalent in v4 #328

Closed
tomcruise81 opened this issue Mar 22, 2022 · 2 comments
Closed

Unarchive equivalent in v4 #328

tomcruise81 opened this issue Mar 22, 2022 · 2 comments

Comments

@tomcruise81
Copy link

What would you like to have changed?

A default Unarchive function that operates similarly to https://pkg.go.dev/github.com/mholt/archiver#Unarchive that either:

  • Could be passed into extractor.Extract(...) as the `FileHandler function
  • Or is it's own interface on a given Format

Why is this feature a useful, necessary, and/or important addition to this project?

It would extend the feature set from v3 to v4, while still offering contextual awareness

What alternatives are there, or what are you doing in the meantime to work around the lack of this feature?

  1. Sticking with v3 / without contextual awareness
  2. Implementing all the unachriving logic ourselves in a FileHandler function
@mholt
Copy link
Owner

mholt commented Mar 22, 2022

Thanks; this is a duplicate of #311. Feel free to continue discussion there!

@tomcruise81
Copy link
Author

Sorry about that,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants