MCPcopy Index your code
hub / github.com/alibaba/lowcode-engine / createworkDir

Function createworkDir

modules/material-parser/src/localize.ts:62–68  ·  view source on GitHub ↗
(tempDir?: string)

Source from the content-addressed store, hash-verified

60 * @memberof LocalGenerator
61 */
62export async function createworkDir(tempDir?: string): Promise<string> {
63 const workDirName = uuid.generate();
64 const workDir = resolve(tempDir || '../../node_modules/.temp/', workDirName);
65 await ensureDir(workDir);
66 log('create temp dir successfully', workDir);
67 return workDir;
68}
69
70/**
71 * 分离物料组件名称和版本号

Callers 1

localizeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…