MCPcopy Create free account
hub / github.com/SensAI-PT/RAGMeUp / handleDownload

Function handleDownload

ui/node-react/client/src/components/DocumentsPage.js:128–134  ·  view source on GitHub ↗
(filename)

Source from the content-addressed store, hash-verified

126 };
127
128 const handleDownload = async (filename) => {
129 try {
130 await downloadDocument(filename);
131 } catch (err) {
132 setAlert({ type: 'error', message: err.message });
133 }
134 };
135
136 const handleDrop = (e) => {
137 e.preventDefault();

Callers

nothing calls this directly

Calls 1

downloadDocumentFunction · 0.85

Tested by

no test coverage detected