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

Method end

lib/protocol/SFTP.js:283–285  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

281 }
282
283 end() {
284 this.destroy();
285 }
286 destroy() {
287 if (this.outgoing.state === 'open' || this.outgoing.state === 'eof') {
288 this.outgoing.state = 'closing';

Callers 1

SFTP.jsFile · 0.45

Calls 1

destroyMethod · 0.95

Tested by

no test coverage detected