MCPcopy Create free account
hub / github.com/mscdex/ssh2 / onclose

Function onclose

lib/protocol/SFTP.js:3813–3819  ·  view source on GitHub ↗
(er)

Source from the content-addressed store, hash-verified

3811 stream.sftp.close(stream.handle, onclose);
3812
3813 function onclose(er) {
3814 er = er || err;
3815 cb(er);
3816 stream.isClosed = true;
3817 if (!er)
3818 stream.emit('close');
3819 }
3820}
3821
3822ReadStream.prototype.close = function(cb) {

Callers 1

closeStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…