Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
122
function
setDestMode(dest, srcMode) {
123
return
chmodSync(dest, srcMode);
124
}
125
126
function
setDestTimestamps(src, dest) {
127
// The initial srcStat.atime cannot be trusted
Callers
3
copyFile
Function · 0.70
makeFileWritable
Function · 0.70
copyDir
Function · 0.70
Calls
1
chmodSync
Function · 0.85
Tested by
no test coverage detected