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

Function copyDemo

cli/init.js:133–143  ·  view source on GitHub ↗
(resolve, reject)

Source from the content-addressed store, hash-verified

131}
132
133function copyDemo (resolve, reject) {
134 try {
135 mkdir('./demo');
136 copy(`${__dirname}/demo/index.js`, './demo/index.js');
137 copy(`${__dirname}/demo/index.html`, './demo/index.html');
138 console.log('add demo dir success.');
139 resolve(true);
140 } catch (e) {
141 reject(e);
142 }
143}
144
145function copyDevServer (resolve, reject) {
146 try {

Callers

nothing calls this directly

Calls 2

mkdirFunction · 0.85
copyFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…