MCPcopy Create free account
hub / github.com/experdot/pointer / getCurrentPath

Function getCurrentPath

src/renderer/src/services/messagesService.ts:177–181  ·  view source on GitHub ↗
(pageId: string)

Source from the content-addressed store, hash-verified

175}
176
177export function getCurrentPath(pageId: string): ChatMessage[] {
178 const record = stores.message.get(pageId)
179 if (!record) return []
180 return getMessagePath(record.messages, record.leafMessageId)
181}
182
183// ==================== 辅助函数 ====================
184

Callers

nothing calls this directly

Calls 2

getMessagePathFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected