MCPcopy Create free account
hub / github.com/IgorWarzocha/howcode / restoreThreads

Function restoreThreads

desktop/thread-state-db/thread-writes.ts:79–81  ·  view source on GitHub ↗
(threadIds: string[])

Source from the content-addressed store, hash-verified

77}
78
79export function restoreThreads(threadIds: string[]) {
80 updateArchivedFlag(threadIds, false)
81}
82
83function updateArchivedFlag(threadIds: string[], archived: boolean) {
84 if (threadIds.length === 0) {

Callers 1

thread-actions.tsFile · 0.90

Calls 1

updateArchivedFlagFunction · 0.85

Tested by

no test coverage detected