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

Serialize state of archiver #43

Open
stefanomasini opened this issue May 11, 2020 · 0 comments
Open

Serialize state of archiver #43

stefanomasini opened this issue May 11, 2020 · 0 comments

Comments

@stefanomasini
Copy link

I'm trying to write a ZIP file in chunks, by separate independent processes running at different times (but in the right serialized order). Ideally each process should append one single file, and the last process, after writing the last file, also finalizes the archive.

It would be great if it was possible to serialize the state of the archiver, so that each process can pick up where the previous one left.

I quickly read the code and it looks like there's really just a handful of internal variables that would need to be serialized, and probably JSON should suffice.

Would that be possible or is there some show stopper I'm not currently seeing?
If possible, what would be the internal variables to take care of? That would give me a head start for a PR.

Thanks for the great library! A work of art.

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

No branches or pull requests

1 participant