MCPcopy Create free account
hub / github.com/play-co/devkit / copyModuleIntoApp

Function copyModuleIntoApp

src/install/index.js:242–245  ·  view source on GitHub ↗

* Copy module into app's modules folder * * @return {Promise}

(app, cacheEntry)

Source from the content-addressed store, hash-verified

240 */
241
242function copyModuleIntoApp (app, cacheEntry) {
243 logger.log(chalk.cyan('Copying ' + app.paths.modules));
244 return cache.copy(cacheEntry, app.paths.modules);
245}
246
247/**
248 * Add module to app's `./modules` folder. Default action is to copy. If

Callers 1

addModuleToAppFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…