How do I overwrite a file inside a ZIP file?
⚓ Rust 📅 2025-07-25 👤 surdeus 👁️ 13I implemented a tool to edit JAR files (which are basically ZIP files).
However, I cannot seem to update files within the ZIP file.
If I try to just write the file, I get an error
Duplicate filename: BOOT-INF/classes/application-dev.properties
I looked through the API docs:
But could not find any option to remove an existing file or override it with new data.
5 posts - 4 participants
🏷️ Rust_feed