matches method

bool matches (
  1. String path
)

Returns whether this glob matches path.

Implementation

bool matches(String path) => matchAsPrefix(path) != null;