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

Function updateCurrentPath

src/renderer/src/stores/pagesStore.ts:1126–1130  ·  view source on GitHub ↗
(currentPath?: string[])

Source from the content-addressed store, hash-verified

1124
1125 // 更新当前路径中的消息ID
1126 const updateCurrentPath = (currentPath?: string[]): string[] => {
1127 if (!currentPath) return []
1128
1129 return currentPath.map((oldId) => idMap.get(oldId)).filter(Boolean) as string[]
1130 }
1131
1132 // 深度复制特定类型的数据
1133 const copyTypeSpecificData = () => {

Callers 2

ChatWindow.tsxFile · 0.85
pagesStore.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected