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

Function localRelativePath

packages/create/src/template-file.ts:120–121  ·  view source on GitHub ↗
(path: string, stripExtension: boolean = false)

Source from the content-addressed store, hash-verified

118
119 return async function templateFile(file: string, content: string) {
120 const localRelativePath = (path: string, stripExtension: boolean = false) =>
121 relativePath(file, path, stripExtension)
122
123 const integrationImportContent = (integration: Integration) =>
124 integration.import ||

Callers 1

integrationImportContentFunction · 0.70

Calls 1

relativePathFunction · 0.70

Tested by

no test coverage detected