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

Function closeVirtualFd

lib/internal/vfs/fd.js:77–79  ·  view source on GitHub ↗

* Closes a virtual file descriptor. * @param {number} fd The file descriptor number * @returns {boolean} True if the fd was found and closed

(fd)

Source from the content-addressed store, hash-verified

75 * @returns {boolean} True if the fd was found and closed
76 */
77function closeVirtualFd(fd) {
78 return openFDs.delete(fd);
79}
80
81module.exports = {
82 VFS_FD_MASK,

Callers 4

closeSyncFunction · 0.85
closeFunction · 0.85
closeSyncMethod · 0.85
closeMethod · 0.85

Calls 1

deleteMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…