MCPcopy
hub / github.com/nirui/sshwifty / constructor

Method constructor

ui/commands/ssh.js:421–431  ·  view source on GitHub ↗

* constructor * * @param {command.Info} info * @param {object} config * @param {streams.Streams} streams * @param {subscribe.Subscribe} subs * @param {controls.Controls} controls * @param {history.History} history *

(info, config, streams, subs, controls, history)

Source from the content-addressed store, hash-verified

419 *
420 */
421 constructor(info, config, streams, subs, controls, history) {
422 this.info = info;
423 this.hasStarted = false;
424 this.streams = streams;
425 this.config = config;
426 this.step = subs;
427 this.controls = controls;
428 this.history = history;
429
430 this.step.resolve(this.stepInitialPrompt());
431 }
432
433 started() {
434 return this.hasStarted;

Callers

nothing calls this directly

Calls 2

stepInitialPromptMethod · 0.95
resolveMethod · 0.45

Tested by

no test coverage detected