matches method

bool matches(
  1. String sourcePackage,
  2. String source,
  3. String target
)

Implementation

bool matches(String sourcePackage, String source, String target) =>
    Glob(_normalizePath(this.source, sourcePackage)).matches(source) &&
    Glob(_normalizePath(this.target, sourcePackage)).matches(target);