idx = zip.LocateFile(id, name$[, table])
name$inside the zip archive specified by
idand returns its index if it is found, otherwise -1 is returned.
The optional table argument can be used to specify further options. The following table tags are currently recognized:
zip.LocateFile()won't distinguish between upper and lower case characters. This makes the search slower. Defaults to
zip.LocateFile()will just match the file name so it will also trigger if the file is in a subdirectory in the archive. Defaults to
This function can also operate on directories. See Zip archive basics for details.