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

Method appendSource

tools/mcmanifest.js:2117–2122  ·  view source on GitHub ↗
(target, source, include, suffix, parts, kind)

Source from the content-addressed store, hash-verified

2115
2116class DataRule extends Rule {
2117 appendSource(target, source, include, suffix, parts, kind) {
2118 var tool = this.tool;
2119 if (kind < 0)
2120 return;
2121 this.appendFile(tool.dataFiles, target + parts.extension, source, include);
2122 }
2123 appendTarget(target) {
2124 this.appendFolder(this.tool.dataFolders, target);
2125 }

Callers

nothing calls this directly

Calls 1

appendFileMethod · 0.45

Tested by

no test coverage detected