MCPcopy Create free account
hub / github.com/Effect-TS/effect / matches

Function matches

packages/tools/jsdocs/src/Jsdocs.ts:547–547  ·  view source on GitHub ↗
(regexp: RegExp)

Source from the content-addressed store, hash-verified

545 const normalizedFilename = normalizePathName(filename)
546 const relativeFilename = normalizePathName(path.relative(options.cwd, filename))
547 const matches = (regexp: RegExp) => regexp.test(normalizedFilename) || regexp.test(relativeFilename)
548 if (include !== undefined && !include.some(matches)) {
549 return false
550 }

Callers 1

relayCommentFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected