MCPcopy Index your code
hub / github.com/github/awesome-copilot / findingCtx

Function findingCtx

extensions/java-modernization-studio/renderer.mjs:492–494  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

490 }
491
492 function findingCtx(x) {
493 return { title: x.title, detail: x.detail, files: x.files, severity: x.severity };
494 }
495 function sevCounts(f) {
496 const c = { P0: 0, P1: 0, P2: 0, P3: 0 };
497 (f || []).forEach((x) => { if (c[x.severity] != null) c[x.severity]++; });

Callers 2

heroActionFunction · 0.85
findingActionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected