MCPcopy Create free account
hub / github.com/EvoMap/evolver / _appendMessage

Method _appendMessage

src/proxy/mailbox/store.js:309–314  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

307 }
308
309 _appendMessage(msg) {
310 appendLine(this._messagesFile, msg);
311 this._messages.set(msg.id, msg);
312 if (msg.direction === 'outbound') this._outbound.push(msg.id);
313 else if (msg.direction === 'inbound') this._inbound.push(msg.id);
314 }
315
316 _appendUpdate(id, fields) {
317 appendLine(this._messagesFile, { _op: 'update', id, fields });

Callers 2

sendMethod · 0.95
writeInboundMethod · 0.95

Calls 1

appendLineFunction · 0.85

Tested by

no test coverage detected