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

Method unlinkSync

lib/internal/vfs/provider.js:206–211  ·  view source on GitHub ↗

* Removes a file synchronously. * @param {string} path The file path

(path)

Source from the content-addressed store, hash-verified

204 * @param {string} path The file path
205 */
206 unlinkSync(path) {
207 if (this.readonly) {
208 throw createEROFS('unlink', path);
209 }
210 throw new ERR_METHOD_NOT_IMPLEMENTED('unlinkSync');
211 }
212
213 /**
214 * Renames a file or directory.

Callers 15

unlinkSyncFunction · 0.45
createVfsHandlersFunction · 0.45
benchClassicFunction · 0.45
benchWebStreamFunction · 0.45
benchIterFunction · 0.45
mainFunction · 0.45
stopFunction · 0.45
mainFunction · 0.45
stopFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

createEROFSFunction · 0.85

Tested by 1

testFunction · 0.36