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

Function fileIsNotWritable

lib/internal/fs/cp/cp.js:278–280  ·  view source on GitHub ↗
(srcMode)

Source from the content-addressed store, hash-verified

276}
277
278function fileIsNotWritable(srcMode) {
279 return (srcMode & 0o200) === 0;
280}
281
282function makeFileWritable(dest, srcMode) {
283 return setDestMode(dest, srcMode | 0o200);

Callers 1

handleTimestampsAndModeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected