Closed benson-basis closed 9 years ago
I've made the requested changes to add support in the decorator, and all the tests pass. I'm having trouble finding a place to add a test for the new case.
Adjustments Pushed.
The test case extract_properlyExtractsArchiveStream
in AbstractArchiverTest
covers the ArchiverCompressorDecorator
via the ArchiverTarGzTest
, so its fine. Just needs to be fixed
Hmm. 7zip rejects streaming. How do we set up the test to be graceful? Or do you want me to implement the temp file fallback for that case?
I'll fix the test. Thanks a lot for the contribution!
I've got a temp-file solution I could push.
Already done :-) thanks though
Cool, since the temp file idea is proving a lot harder than I thought it would be. You're welcome.
Scratch that last one - I forgot the SevenZArchiver :-) however i still think its fine to live with the limitation for now.
So as per previous comment I'm thinking I'm done here :-)
Here's an implementation of 'extract-from-a-stream'.