Log inGet started
Package

preset.module

Newest version

This package holds more than this page lists. See all of its files in its world.

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