MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / loadUploadedFile

Function loadUploadedFile

tests/loadtest/tools/dashboard/app.js:273–284  ·  view source on GitHub ↗
(file)

Source from the content-addressed store, hash-verified

271}
272
273async function loadUploadedFile(file) {
274 const text = await file.text();
275 const run = parseUploadedFile(file.name, text);
276 state.compareMode = false;
277 state.compareIds = [];
278 state.selectedId = run.id;
279 state.selectedSource = "upload";
280 state.currentRun = run;
281 renderCompareButton();
282 renderRunList();
283 renderDashboard(run);
284}
285
286function parseUploadedFile(fileName, text) {
287 const trimmed = text.trim();

Callers 1

bindEventsFunction · 0.85

Calls 4

parseUploadedFileFunction · 0.85
renderCompareButtonFunction · 0.85
renderRunListFunction · 0.85
renderDashboardFunction · 0.85

Tested by

no test coverage detected