MCPcopy Index your code
hub / github.com/Moddable-OpenSource/moddable / addMCConfigDTSFile

Method addMCConfigDTSFile

tools/ffi.js:255–262  ·  view source on GitHub ↗
(tool, signatures)

Source from the content-addressed store, hash-verified

253 tool.cFiles.push({ target, source });
254 }
255 addMCConfigDTSFile(tool, signatures) {
256 const source = tool.tmpPath + tool.slash + "mc.ffi.d.ts";
257 const file = new TabFile(source, tool);
258 this.generateDTSFile(file, signatures, "mc/ffi");
259 file.close();
260 const target = "mc" + tool.slash + "ffi";
261 tool.dtsFiles.push({ target, source });
262 }
263 addMCConfigJSFile(tool, description) {
264 const folder = "mc";
265 tool.createDirectory(tool.modulesPath + tool.slash + folder);

Callers 1

mcConfigMethod · 0.95

Calls 3

generateDTSFileMethod · 0.95
closeMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected