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

Function deregisterVFS

lib/internal/vfs/setup.js:93–101  ·  view source on GitHub ↗
(vfs)

Source from the content-addressed store, hash-verified

91}
92
93function deregisterVFS(vfs) {
94 const index = ArrayPrototypeIndexOf(activeVFSList, vfs);
95 if (index === -1) return;
96 ArrayPrototypeSplice(activeVFSList, index, 1);
97 debug('deregister active=%d', activeVFSList.length);
98 if (activeVFSList.length === 0) {
99 setVfsHandlers(null);
100 }
101}
102
103function findVFSForExists(filename) {
104 const normalized = resolve(filename);

Callers 1

unmountMethod · 0.85

Calls 2

setVfsHandlersFunction · 0.85
debugFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…