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

Function remove

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

Source from the content-addressed store, hash-verified

317 };
318
319 const remove = async (entry: ProjectEntry): Promise<void> => {
320 setArmed('');
321 try {
322 await source.deleteProject(entry.name);
323 if (!mounted.current) {
324 return;
325 }
326 setListNotice(text.removed(entry.name));
327 setHealth((current) => {
328 const next = { ...current };
329 delete next[entry.name];
330 return next;
331 });
332 void loadProjects();
333 } catch (error) {
334 if (mounted.current) {
335 setListNotice(text.removeError(describeError(error)));
336 }
337 }
338 };
339
340 const start = async (rootPath: string, projectName: string): Promise<void> => {
341 try {

Callers 15

ProjectsPanelFunction · 0.85
index_run_supervisedFunction · 0.85
ia_gitFunction · 0.85
test_cli.cFile · 0.85
sha256_vector_okFunction · 0.85
fixture_closeFunction · 0.85
leave_hot_journalFunction · 0.85
cleanup_dbFunction · 0.85
test_mcp.cFile · 0.85
test_watcher.cFile · 0.85
test_mem_events.cFile · 0.85

Calls 3

loadProjectsFunction · 0.85
describeErrorFunction · 0.85
deleteProjectMethod · 0.65

Tested by 10

sha256_vector_okFunction · 0.68
fixture_closeFunction · 0.68
leave_hot_journalFunction · 0.68
cleanup_dbFunction · 0.68
disambiguate_cfc_contentFunction · 0.68
dv_cleanupFunction · 0.68
source_fixture_closeFunction · 0.68