MCPcopy Create free account
hub / github.com/GrapesJS/cli / resolveLocal

Function resolveLocal

src/init.ts:41–43  ·  view source on GitHub ↗
(pth: string)

Source from the content-addressed store, hash-verified

39};
40
41const resolveLocal = (pth: string) => {
42 return path.resolve(__dirname, `${tmpPath}/${pth}`);
43};
44
45const createSourceFiles = async (opts: InitOptions = {}) => {
46 const rdmSrc = getTemplateFileContent('README.md')

Callers 3

createSourceFilesFunction · 0.85
createFileComponentsFunction · 0.85
createFileBlocksFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected