MCPcopy Create free account
hub / github.com/TurtleTrace2026/TurtleTrace / exportEvents

Method exportEvents

src/services/eventService.ts:212–215  ·  view source on GitHub ↗

导出事件数据

()

Source from the content-addressed store, hash-verified

210
211 /** 导出事件数据 */
212 async exportEvents(): Promise<string> {
213 const events = await this.getAllEvents();
214 return JSON.stringify(events, null, 2);
215 }
216
217 /** 导入事件数据 */
218 async importEvents(jsonData: string): Promise<boolean> {

Callers

nothing calls this directly

Calls 1

getAllEventsMethod · 0.95

Tested by

no test coverage detected