MCPcopy Create free account
hub / github.com/nodejs/node / setDestMode

Function setDestMode

lib/internal/fs/cp/cp.js:291–293  ·  view source on GitHub ↗
(dest, srcMode)

Source from the content-addressed store, hash-verified

289}
290
291function setDestMode(dest, srcMode) {
292 return chmod(dest, srcMode);
293}
294
295async function setDestTimestamps(src, dest) {
296 // The initial srcStat.atime cannot be trusted

Callers 4

_copyFileFunction · 0.70
makeFileWritableFunction · 0.70
setDestTimestampsAndModeFunction · 0.70
mkDirAndCopyFunction · 0.70

Calls 1

chmodFunction · 0.50

Tested by

no test coverage detected