MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / definition

Function definition

libatomic/src/review/viewer.js:62–66  ·  view source on GitHub ↗
(entries)

Source from the content-addressed store, hash-verified

60 return node;
61 };
62 const definition = (entries) => {
63 const list = el('dl');
64 for (const [name, value] of entries) list.append(el('dt', '', name), el('dd', '', value));
65 return list;
66 };
67 const cardCallout = (id, text) => button(text || id, () => showCard(id, true), 'card-callout');
68 const location = region => region.start_line ? `Lines ${region.start_line}–${region.end_line} · ${viewSnapshot ? 'snapshot' : region.side}` : 'File-level observation · range unavailable';
69 const regionName = region => {

Callers 2

showCardFunction · 0.70
renderRiskOverviewFunction · 0.70

Calls 2

elFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected