MCPcopy Index your code
hub / github.com/Lobos/react-ui / copy

Function copy

cli/init.js:51–53  ·  view source on GitHub ↗
(origin, newFile)

Source from the content-addressed store, hash-verified

49}
50
51function copy (origin, newFile) {
52 fs.createReadStream(origin).pipe(fs.createWriteStream(newFile));
53}
54
55function updatePackage (resolve, reject) {
56 fs.readFile('./package.json', function(err, data) {

Callers 3

copyWebpackConfigFunction · 0.85
copyDemoFunction · 0.85
copyDevServerFunction · 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…