MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / copy

Function copy

scripts/copy.mjs:21–23  ·  view source on GitHub ↗
(filename, from, to, newFilename = filename)

Source from the content-addressed store, hash-verified

19}, {});
20
21function copy(filename, from, to, newFilename = filename) {
22 copyFileSync(resolve(from, filename), resolve(to, newFilename));
23}
24
25function rewrite(path, replacer) {
26 try {

Callers 1

copy.mjsFile · 0.85

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected