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

Function normalizePathName

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

Source from the content-addressed store, hash-verified

496}
497
498function normalizePathName(filePath: string): string {
499 return filePath.replaceAll(path.sep, "/")
500}
501
502function normalizePackagePath(filePath: string): string {
503 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