Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit61a33237e0

README.md

glob

Path globs for Preset Manager rows. A row's filter is matched against the path of the new thing it would apply to.

  • * matches any run of characters inside one path segment.
  • ** matches any run of characters across segments.
  • **/ matches zero or more whole segments, so a/**/b matches a/b.
  • ? matches one character other than /.
  • Every other character matches itself.

A glob matches a whole path, anchored at both ends. The empty glob matches every path.

Exports

  • Glob.match(glob: string, path: string) -> boolean