-
-
Notifications
You must be signed in to change notification settings - Fork 618
os.matchdirs
starkos edited this page Apr 10, 2021
·
3 revisions
This wiki is no longer being maintained.
Perform a wildcard match to locate one or more directories.
matches = os.matchdirs("pattern")
pattern
is the file system path to search. It may contain single (non-recursive) or double (recursive) asterisk wildcard patterns.
A list of directories which match the specified pattern. May be empty.
Premake 4.0 or later.
matches = os.matchdirs("src/*") -- non-recursive match
matches = os.matchdirs("src/**") -- recursive match
matches = os.matchdirs("src/test*") -- may also match partial names