MCPcopy 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
114function fileIsNotWritable(srcMode) {
115 return (srcMode & 0o200) === 0;
116}
117
118function makeFileWritable(dest, srcMode) {
119 return setDestMode(dest, srcMode | 0o200);

Callers 1

handleTimestampsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected