MCPcopy
hub / github.com/rolldown/tsdown / slash

Function slash

src/utils/general.ts:33–35  ·  view source on GitHub ↗
(string: string)

Source from the content-addressed store, hash-verified

31}
32
33export function slash(string: string): string {
34 return string.replaceAll('\\', '/')
35}
36
37export const noop = <T>(v: T): T => v
38

Callers 15

general.test.tsFile · 0.90
resolveCleanFunction · 0.90
parseNodeModulesPathFunction · 0.90
resolveObjectEntryFunction · 0.90
resolveArrayEntryFunction · 0.90
formatProblemFunction · 0.90
generateExportsFunction · 0.90
exportCssFunction · 0.90
generateBinFunction · 0.90
normalizeSourceFunction · 0.90
findChunkBySourceFunction · 0.90
getExportNameFunction · 0.90

Calls

no outgoing calls

Tested by 1

handlerFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…