MCPcopy Index your code
hub / github.com/witheve/Eve / save

Method save

src/client.ts:193–198  ·  view source on GitHub ↗
(documentId:string, code:string)

Source from the content-addressed store, hash-verified

191 }
192
193 save(documentId:string, code:string) {
194 this.sendControl(JSON.stringify({type: "save", path: documentId, code}));
195 if(this.worker) {
196 this.worker.postMessage(JSON.stringify({type: "save", path: documentId, code}));
197 }
198 }
199
200 sendEvent(records:any[]) {
201 if(!records || !records.length) return;

Callers

nothing calls this directly

Calls 1

sendControlMethod · 0.95

Tested by

no test coverage detected