MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / createDirectories

Method createDirectories

tools/mcpack.js:318–324  ·  view source on GitHub ↗
(path, ...segments)

Source from the content-addressed store, hash-verified

316 this.snippets = [];
317 }
318 createDirectories(path, ...segments) {
319 for (let segment of segments) {
320 path += this.slash + segment;
321 this.createDirectory(path);
322 }
323 return path;
324 }
325 readFileJSON(path) {
326 let buffer = this.readFileString(path);
327 try {

Callers 3

runMethod · 0.45
getPlatformBuiltinsMethod · 0.45

Calls 1

createDirectoryMethod · 0.45

Tested by

no test coverage detected