Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants