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

Function clearAttachment

graph-ui/src/App.tsx:4796–4798  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

4794 const readSymbolSource = useCallback((qualifiedName: string, window: { maxLines: number }) =>
4795 client.getCodeSnippet(project, qualifiedName, window), [client, project]);
4796 const clearAttachment = (id: string): void => {
4797 setChatAttachment(current => current?.id === id ? undefined : current);
4798 };
4799 const clearChatGraphSelection = (id: string): void => {
4800 setChatGraphSelection(current => current?.id === id ? undefined : current);
4801 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected