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

Function normalizePathName

packages/tools/jsdocs/src/Jsdocs.ts:484–486  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

482}
483
484function normalizePathName(filePath: string): string {
485 return filePath.replaceAll(path.sep, "/")
486}
487
488function normalizePackagePath(filePath: string): string {
489 return normalizePathName(filePath).replace(/^\.\//, "./")

Callers 7

normalizePackagePathFunction · 0.70
createJSDocFileMatcherFunction · 0.70
parseBarrelExportsFunction · 0.70
resolveBarrelImportFunction · 0.70
resolveJSDocImportsFunction · 0.70
normalizeFileFunction · 0.70
normalizeSignatureFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected