Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ fileIsNotWritable
Function
fileIsNotWritable
lib/internal/fs/cp/cp-sync.js:114–116 ·
view source on GitHub ↗
(srcMode)
Source
from the content-addressed store, hash-verified
112
}
113
114
function
fileIsNotWritable(srcMode) {
115
return
(srcMode & 0o200) === 0;
116
}
117
118
function
makeFileWritable(dest, srcMode) {
119
return
setDestMode(dest, srcMode | 0o200);
Callers
1
handleTimestamps
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected