MCPcopy Index your code
hub / github.com/angular-fullstack/generator-angular-fullstack / copyAsync

Function copyAsync

src/test/test-helpers.js:19–22  ·  view source on GitHub ↗
(src, dest)

Source from the content-addressed store, hash-verified

17 * @returns {Promise}
18 */
19export function copyAsync(src, dest) {
20 return fs.readFileAsync(src)
21 .then(data => fs.writeFileAsync(dest, data));
22}
23
24/**
25 * @callback doneCallback

Callers 2

endpoint.test.jsFile · 0.90
runGenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected