You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed this crate supports creating new files in a zip file, but it doesn't support creating a new zip file yet. It would be very useful to also support that :)
The text was updated successfully, but these errors were encountered:
Seems like the easy way would just be to use the zip crate, and anything this provides would just be a thin layer atop that. Zip files aren't really designed to be modified or created in anything other than batch mode, as far as I can tell. What kind of API would you want from such functionality?
Ideally the API would mirror the std fs API as much as possible, so that one can enable/disable whether a zip file is used or the fs is used directly, with minimal code changes (or even switchable at runtime based on a config).
E.g. things like creating/deleting dirs/files, path.exists() etc.
Using the zip crate at least, that would involve essentially creating a new zip file from scratch on every modification. This sounds like a great way to produce more issues 6 months from now saying "file operations in a zip file are slow!" XD
I noticed this crate supports creating new files in a zip file, but it doesn't support creating a new zip file yet. It would be very useful to also support that :)
The text was updated successfully, but these errors were encountered: