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