mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-11-27 17:43:27 +00:00
1.4 KiB
Executable file
Generated
1.4 KiB
Executable file
Generated
Public API
glob_match
glob_match(expr, path, match_path_separator)
Test if the passed path matches the glob expression.
*
A single asterisk stands for zero or more arbitrary characters except for the the path separator /
if match_path_separator
is False
?
The question mark stands for exactly one character except for the the path separator /
if match_path_separator
is False
**
A double asterisk stands for an arbitrary sequence of 0 or more characters. It is only allowed when preceded by either the beginning of the string or a slash. Likewise it must be followed by a slash or the end of the pattern.
PARAMETERS
RETURNS
True if the path matches the glob expression