MCPcopy Index your code
hub / github.com/nodejs/node / copyObject

Function copyObject

lib/internal/fs/utils.js:220–225  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

218}
219
220function copyObject(source) {
221 const target = {};
222 for (const key in source)
223 target[key] = source[key];
224 return target;
225}
226
227const bufferSep = Buffer.from(pathModule.sep);
228

Callers 8

readdirFunction · 0.85
appendFileFunction · 0.85
appendFileSyncFunction · 0.85
watchFunction · 0.85
ReadStreamFunction · 0.85
WriteStreamFunction · 0.85
readdirFunction · 0.85
appendFileFunction · 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…