Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
291
function
setDestMode(dest, srcMode) {
292
return
chmod(dest, srcMode);
293
}
294
295
async
function
setDestTimestamps(src, dest) {
296
// The initial srcStat.atime cannot be trusted
Callers
4
_copyFile
Function · 0.70
makeFileWritable
Function · 0.70
setDestTimestampsAndMode
Function · 0.70
mkDirAndCopy
Function · 0.70
Calls
1
chmod
Function · 0.50
Tested by
no test coverage detected