add_directory Clarification #313
-
Hello zip-rs team, I would like to ask for some clarification on the documentation regarding I found this confusing. As how I understand it, the "can't write data to the file afterward" means that the specific path passed into Thank you ahead of time, and your library has been helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
it's actually just referring to the |
Beta Was this translation helpful? Give feedback.
it's actually just referring to the
io::Write
implementation - internally directories are only represented as normal files with no content, and you're right that this ought to be made clearer in the documentation. I imagine it'd be best to remove that paragraph and give an example of creating a directory containing a couple of files (created an issue #323, no timeline for now, im just shuffling things around for discussions)