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

Function setDestMode

lib/internal/fs/cp/cp-sync.js:122–124  ·  view source on GitHub ↗
(dest, srcMode)

Source from the content-addressed store, hash-verified

120}
121
122function setDestMode(dest, srcMode) {
123 return chmodSync(dest, srcMode);
124}
125
126function setDestTimestamps(src, dest) {
127 // The initial srcStat.atime cannot be trusted

Callers 3

copyFileFunction · 0.70
makeFileWritableFunction · 0.70
copyDirFunction · 0.70

Calls 1

chmodSyncFunction · 0.85

Tested by

no test coverage detected