Extend GetZipPaths to accept an optional prefix (#320)

This commit is contained in:
Paul Kulchenko 2021-11-12 15:28:05 -08:00 committed by GitHub
parent 7fe9e70117
commit 8f05990d5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 5 deletions

View file

@ -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