MCPcopy Index your code
hub / github.com/nodeSolidServer/node-solid-server / cp

Function cp

test/utils/index.mjs:35–39  ·  view source on GitHub ↗
(src, dest)

Source from the content-addressed store, hash-verified

33}
34
35export function cp (src, dest) {
36 return fs.copySync(
37 path.normalize(path.join(__dirname, '../resources/' + src)),
38 path.normalize(path.join(__dirname, '../resources/' + dest)))
39}
40
41export function read (file) {
42 return fs.readFileSync(path.normalize(path.join(__dirname, '../resources/' + file)), {

Calls

no outgoing calls

Tested by

no test coverage detected