match method

bool match(
  1. String path
)

Returns true if path matches this glob pattern.

Implementation

bool match(String path) => _regex.hasMatch(normalizePath(path));