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

Method addMCRunDTSFile

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

Source from the content-addressed store, hash-verified

289 }
290 }
291 addMCRunDTSFile(tool, signatures) {
292 const source = tool.tmpPath + tool.slash + "mc.ffi.d.ts";
293 const file = new TabFile(source, tool);
294 this.generateDTSFile(file, signatures, "ffi");
295 file.close();
296 const target = "ffi";
297 tool.dtsFiles.push({ target, source });
298 }
299 addSources(tool, sources) {
300 const files = tool.cFiles;
301 const folders = tool.cFolders;

Callers 1

mcRunMethod · 0.95

Calls 3

generateDTSFileMethod · 0.95
closeMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected