Skip to content

Commit 21ae305

Browse files
authored
chore: Remove documentation for findDuplicates function
Removed unused documentation comment for findDuplicates function.
1 parent 304395e commit 21ae305

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

src/lib/storage/memories.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,6 @@ export const addEntries = async (entries: CreateMemoryEntry[]) => {
183183
}
184184
};
185185

186-
/**
187-
* Given a list of candidate entries (e.g. freshly extracted from a document),
188-
* returns a Map from candidate index → the existing MemoryEntry that would be
189-
* overwritten if the candidate were saved. Uses the same matching logic as
190-
* addEntries: contentHash first, then answerKey fallback.
191-
*/
192186
export const findDuplicates = async (
193187
candidates: Array<{ question: string; answer: string; category: string }>,
194188
existing: MemoryEntry[],

0 commit comments

Comments
 (0)