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

Function isInternalModule

packages/tools/utils/src/Codegen.ts:117–118  ·  view source on GitHub ↗
(file: string, block: string)

Source from the content-addressed store, hash-verified

115}
116
117const isInternalModule = (file: string, block: string): boolean =>
118 file.split(/[/\\]/).includes("internal") || /^\s*\*\s*@internal\s*$/m.test(block)
119
120const renderExportJSDoc = ({ since, stability }: ModuleMetadata): string =>
121 `/**

Callers 1

extractModuleMetadataFunction · 0.85

Calls 1

splitMethod · 0.45

Tested by

no test coverage detected