MCPcopy Create free account
hub / github.com/TanStack/cli / toCleanPath

Function toCleanPath

packages/create/scripts/generate-manifest.mjs:66–68  ·  view source on GitHub ↗
(file, baseDir)

Source from the content-addressed store, hash-verified

64}
65
66function toCleanPath(file, baseDir) {
67 return relative(baseDir, file).replace(/\\/g, '/')
68}
69
70function findFilesRecursively(baseDir) {
71 const files = {}

Callers 5

scanProjectDirectoryFunction · 0.90
scanAddOnDirectoriesFunction · 0.90
runCreateAppFunction · 0.90
visitFunction · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected