mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-27 21:10:29 +00:00
Extend GetZipPaths to accept an optional prefix (#320)
This commit is contained in:
parent
7fe9e70117
commit
8f05990d5a
2 changed files with 9 additions and 5 deletions
|
@ -746,9 +746,10 @@ FUNCTIONS
|
|||
minor (mm), and patch (pp) versions encoded. The version value 1.4
|
||||
would be represented as 0x010400.
|
||||
|
||||
GetZipPaths() → {path:str,...}
|
||||
GetZipPaths([prefix:str]) → {path:str,...}
|
||||
Returns paths of all assets in the zip central directory, prefixed
|
||||
by a slash.
|
||||
by a slash. If prefix parameter is provided, then only paths that
|
||||
start with the prefix (case sensitive) are returned.
|
||||
|
||||
HasParam(name:str) → bool
|
||||
Returns true if parameter with name was supplied in either the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue