ITADN

Feature Request: GetZipPaths to take in account overlay

#1479Openmingodad 创建于 2026-02-17
M
mingodadcommented
### Prerequisites - [x] I am running the latest code. Mention the version if possible as well. - [x] I carefully followed the [README.md](https://github.com/jart/cosmopolitan/blob/master/README.md). - [x] I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed). - [x] I reviewed the [Discussions](https://github.com/jart/cosmopolitan/discussions), and have a new and useful enhancement to share. ### Feature Description When developing an application with `redbean` I usuallu use the overlay option '-D .' to not need to create a zip file on each change but from inside the Lua code there is no way to know that we are/have an overlay and when we call `GetZipPaths` it doesn't check for overlays. Would be nice to have a way to know if we have any overlay and `GetZipPaths` to also look in overlays, with that we can work transparently with overlay while developing. ### Motivation Allow developing `redbean` application with overlay transparently because `GetZipPaths` will take overlays into account transparently. ### Possible Implementation `GetZipPaths` would search overlays internally if they exists.
0 条评论