MCPcopy Create free account
hub / github.com/effect-app/libs / findPackageRoot

Function findPackageRoot

repos/effect/packages/tools/jsdocs/src/Jsdocs.ts:506–519  ·  view source on GitHub ↗
(filename: string)

Source from the content-addressed store, hash-verified

504 index++
505 } else {
506 source += "[^/]*"
507 }
508 } else if (char === "?") {
509 source += "[^/]"
510 } else {
511 source += escapeRegExp(char)
512 }
513 }
514 return new RegExp(`${source}$`)
515}
516
517/**
518 * Creates a predicate that checks whether a filename is included by the configured JSDoc globs.
519 *
520 * @category constructors
521 * @since 4.0.0
522 */

Callers 1

resolveJSDocImportsFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…