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

Function normalizeFile

repos/effect/packages/tools/jsdocs/src/Jsdocs.ts:2535–2537  ·  view source on GitHub ↗
(cwd: string, filename: string)

Source from the content-addressed store, hash-verified

2533 if (statement.importClause?.isTypeOnly) continue
2534 const source = statement.moduleSpecifier.text
2535 const namedAllowed = policy.allowedNamedBySource.get(source)
2536 const namespaceModule = policy.namespaceModuleBySource.get(source)
2537 const flatModule = policy.flatModuleBySource.get(source)
2538 const namedModule = policy.namedModuleBySource.get(source)
2539 const clause = statement.importClause
2540 if (clause === undefined) continue

Callers 3

inlineLinkSymbolFunction · 0.85
computeJSDocInputHashFunction · 0.85
extractJSDocsSyncFunction · 0.85

Calls 1

normalizePathNameFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…