MCPcopy Index your code
hub / github.com/nodejs/node / chmod

Function chmod

test/parallel/test-trace-events-fs-async.js:30–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30function chmod() {
31 const fs = require('fs');
32 fs.writeFileSync('fs1.txt', '123', 'utf8');
33 fs.chmod('fs1.txt', 100, () => {
34 fs.unlinkSync('fs1.txt');
35 });
36}
37
38function chown({ uid, gid }) {
39 const fs = require('fs');

Callers 1

doTestFunction · 0.70

Calls 4

requireFunction · 0.50
writeFileSyncMethod · 0.45
chmodMethod · 0.45
unlinkSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…