MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / check

Function check

graph-ui/src/projects/ProjectsPanel.tsx:302–317  ·  view source on GitHub ↗
(entry: ProjectEntry)

Source from the content-addressed store, hash-verified

300 // ------------------------------------------------------------ actions --
301
302 const check = async (entry: ProjectEntry): Promise<void> => {
303 setHealth((current) => ({ ...current, [entry.name]: 'asking' }));
304 try {
305 const verdict = await source.projectHealth(entry.name);
306 if (mounted.current) {
307 setHealth((current) => ({ ...current, [entry.name]: verdict }));
308 }
309 } catch (error) {
310 if (mounted.current) {
311 setHealth((current) => ({
312 ...current,
313 [entry.name]: { status: 'unknown', reason: describeError(error) },
314 }));
315 }
316 }
317 };
318
319 const remove = async (entry: ProjectEntry): Promise<void> => {
320 setArmed('');

Callers 10

ProjectsPanelFunction · 0.70
settleFunction · 0.50
settleFunction · 0.50
settleFunction · 0.50
settleFunction · 0.50
settleFunction · 0.50
settleFunction · 0.50
settleFunction · 0.50
settleFunction · 0.50
settleFunction · 0.50

Calls 2

describeErrorFunction · 0.85
projectHealthMethod · 0.65

Tested by 9

settleFunction · 0.40
settleFunction · 0.40
settleFunction · 0.40
settleFunction · 0.40
settleFunction · 0.40
settleFunction · 0.40
settleFunction · 0.40
settleFunction · 0.40
settleFunction · 0.40