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

Method eof

lib/Channel.js:200–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198 }
199
200 eof() {
201 if (this.outgoing.state === 'open') {
202 this.outgoing.state = 'eof';
203 this._client._protocol.channelEOF(this.outgoing.id);
204 }
205 }
206
207 close() {
208 if (this.outgoing.state === 'open' || this.outgoing.state === 'eof') {

Callers 1

onFinishFunction · 0.80

Calls 1

channelEOFMethod · 0.80

Tested by

no test coverage detected