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

Function close

lib/internal/vfs/setup.js:412–416  ·  view source on GitHub ↗
(fd)

Source from the content-addressed store, hash-verified

410 // ==================== Async FD-based ops ====================
411
412 close(fd) {
413 const vfd = getVirtualFd(fd);
414 if (!vfd) return undefined;
415 return vfd.entry.close().then(() => { closeVirtualFd(fd); return true; });
416 },
417 read(fd, buffer, offset, length, position) {
418 const vfd = getVirtualFd(fd);
419 if (!vfd) return undefined;

Callers

nothing calls this directly

Calls 4

getVirtualFdFunction · 0.85
closeVirtualFdFunction · 0.85
closeMethod · 0.65
thenMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…