mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-01-05 22:11:56 -05:00
592 B
Vendored
592 B
Vendored
Perform a wildcard match to locate one or more files.
matches = os.matchfiles("pattern")
Parameters
pattern
is the file system path to search. It may contain single (non-recursive) or double (recursive) asterisk wildcard patterns.
Return Value
A list of files which match the specified pattern. May be empty.
Availability
Premake 4.0 or later.
Examples
matches = os.matchfiles("src/*.c") -- non-recursive match
matches = os.matchfiles("src/**.c") -- recursive match