Whether the glob pattern matches the path text, with the rules of format_is_ignored.
assert(format_glob_match("src/*.jai", "src/a.jai"));
assert(!format_glob_match("src/*.jai", "src/deep/a.jai"));
assert(format_glob_match("**/a.jai", "src/deep/a.jai"));format_glob_match :: (pattern: string, text: string) -> bool
Parameters
- pattern: string
- text: string
Returns
- bool