MCPcopy
hub / github.com/CopyTranslator/CopyTranslator / mkdir

Function mkdir

src/prebuild.ts:14–18  ·  view source on GitHub ↗
(dir: string)

Source from the content-addressed store, hash-verified

12]);
13
14function mkdir(dir: string) {
15 if (!fs.existsSync(dir)) {
16 fs.mkdirSync(dir);
17 }
18}
19
20function generateLocales(resources: Map<Language, Locale>, localeDir: string) {
21 mkdir(localeDir);

Callers 1

generateLocalesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected