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

Method write

tools/file.js:29–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 super(path, mode ? "wb+" : "rb");
28 }
29 write() {
30 let c = arguments.length;
31 for (let i = 0; i < c; i++)
32 this.writeAux(arguments[i]);
33 }
34 writeAux(it) {
35 if (it instanceof Array)
36 it.forEach(item => this.writeAux(item));

Callers

nothing calls this directly

Calls 1

writeAuxMethod · 0.80

Tested by

no test coverage detected