MCPcopy Create free account
hub / github.com/Marus/cortex-debug / sendToBackend

Method sendToBackend

src/frontend/server_console.ts:114–119  ·  view source on GitHub ↗
(data: string | Buffer)

Source from the content-addressed store, hash-verified

112 }
113
114 public sendToBackend(data: string | Buffer) {
115 if (this.toBackend) {
116 this.toBackend.write(data.toString());
117 this.toBackend.uncork();
118 }
119 }
120
121 public logData(data: Buffer | string) {
122 GDBServerConsole.logDataStatic(this.ptyTerm, data);

Callers 1

setupTerminalMethod · 0.95

Calls 2

toStringMethod · 0.80
writeMethod · 0.45

Tested by

no test coverage detected