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

Method unlink

lib/internal/vfs/provider.js:195–200  ·  view source on GitHub ↗

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

(path)

Source from the content-addressed store, hash-verified

193 * @returns {Promise<void>}
194 */
195 async unlink(path) {
196 if (this.readonly) {
197 throw createEROFS('unlink', path);
198 }
199 throw new ERR_METHOD_NOT_IMPLEMENTED('unlink');
200 }
201
202 /**
203 * Removes a file synchronously.

Callers 15

make_bin_overrideFunction · 0.45
configure.pyFile · 0.45
CheckedUnlinkFunction · 0.45
try_unlinkFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
OnRmErrorFunction · 0.45
ExecRecursiveMirrorMethod · 0.45
ExecLinkWithManifestsMethod · 0.45
__init__Method · 0.45
closeMethod · 0.45

Calls 1

createEROFSFunction · 0.85

Tested by 3

CheckedUnlinkFunction · 0.36
tearDownMethod · 0.36
call_wrapperFunction · 0.36