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

Function _close

lib/internal/fs/streams.js:130–135  ·  view source on GitHub ↗
(stream, err, cb)

Source from the content-addressed store, hash-verified

128}
129
130function _close(stream, err, cb) {
131 stream[kFs].close(stream.fd, (er) => {
132 cb(er || err);
133 });
134 stream.fd = null;
135}
136
137function importFd(stream, options) {
138 if (typeof options.fd === 'number') {

Callers 1

closeFunction · 0.70

Calls 2

closeMethod · 0.65
cbFunction · 0.50

Tested by

no test coverage detected