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

Function unlink

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

Source from the content-addressed store, hash-verified

225}
226
227function unlink() {
228 const fs = require('fs');
229 fs.writeFileSync('fs23.txt', '123', 'utf8');
230 fs.linkSync('fs23.txt', 'fs24.txt');
231 fs.unlink('fs23.txt', () => {});
232 fs.unlink('fs24.txt', () => {});
233}
234
235function utime() {
236 const fs = require('fs');

Callers 2

doTestFunction · 0.70

Calls 4

requireFunction · 0.50
writeFileSyncMethod · 0.45
linkSyncMethod · 0.45
unlinkMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…