MCPcopy Index your code
hub / github.com/garrytan/gstack / exportToFile

Method exportToFile

browse/src/network-capture.ts:70–74  ·  view source on GitHub ↗

Export to JSONL file.

(filePath: string)

Source from the content-addressed store, hash-verified

68
69 /** Export to JSONL file. */
70 exportToFile(filePath: string): number {
71 const lines = this.entries.map(e => JSON.stringify(e));
72 fs.writeFileSync(filePath, lines.join('\n') + '\n');
73 return this.entries.length;
74 }
75
76 /** Summary of captured responses (URL, status, size). */
77 summary(): string {

Callers 2

exportCaptureFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected