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

Function access

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

Source from the content-addressed store, hash-verified

20}
21
22function access() {
23 const fs = require('fs');
24 fs.writeFileSync('fs0.txt', '123', 'utf8');
25 fs.access('fs0.txt', () => {
26 fs.unlinkSync('fs0.txt');
27 });
28}
29
30function chmod() {
31 const fs = require('fs');

Callers 3

validateFunction · 0.70
getHandleFunction · 0.70

Calls 4

requireFunction · 0.50
writeFileSyncMethod · 0.45
accessMethod · 0.45
unlinkSyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…