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

Function selectionLocation

graph-ui/src/browser-ai/chat-model.ts:78–80  ·  view source on GitHub ↗
(selection: BrowserChatAttachment)

Source from the content-addressed store, hash-verified

76}
77
78export function selectionLocation(selection: BrowserChatAttachment): string {
79 return `${selection.path}:${selection.startLine}:${selection.startColumn}-${selection.endLine}:${selection.endColumn}`;
80}
81
82export function snapshotAttachment(selection?: BrowserChatAttachment): BrowserChatAttachment | undefined {
83 return selection ? { ...selection } : undefined;

Callers 3

chat-model.test.tsFile · 0.90
explanationInputFunction · 0.90
AttachmentFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected