MCPcopy
hub / github.com/opentrace/opentrace / handleIndexPR

Function handleIndexPR

ui/src/appComponents/PRListPanel.tsx:128–133  ·  view source on GitHub ↗
(pr: PRDetail)

Source from the content-addressed store, hash-verified

126 };
127
128 const handleIndexPR = async (pr: PRDetail) => {
129 await indexPRIntoGraph(store, pr, prClient.meta);
130 await store.flush();
131 const prId = `${prClient.meta.owner}/${prClient.meta.repo}/pr/${pr.number}`;
132 await onGraphChange?.(prId);
133 };
134
135 const handleSelectInGraph = (pr: PRDetail) => {
136 const prId = `${prClient.meta.owner}/${prClient.meta.repo}/pr/${pr.number}`;

Callers

nothing calls this directly

Calls 2

indexPRIntoGraphFunction · 0.90
flushMethod · 0.65

Tested by

no test coverage detected