MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / download

Function download

graph-ui/src/diagnostics/DiagnosticsPanel.tsx:58–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56 } catch (reason) { setStatus(reason instanceof Error ? reason.message : String(reason)); }
57 };
58 const download = () => {
59 const url = URL.createObjectURL(new Blob([report], { type: 'text/plain;charset=utf-8' }));
60 const anchor = document.createElement('a'); anchor.href = url; anchor.download = 'local-index-diagnosis.txt';
61 anchor.click(); URL.revokeObjectURL(url); setStatus('Edited report downloaded locally. Nothing was sent.');
62 };
63 if (!active) return null;
64 return <section className="diagnostics-panel" aria-label="Coverage" data-testid="diagnostics-panel">
65 <header><div><p className="diagnostics-eyebrow">{project}</p><h2>Coverage</h2>{path && <p>Selected <code>{path}</code></p>}</div></header>

Callers

nothing calls this directly

Calls 1

setStatusFunction · 0.85

Tested by

no test coverage detected