Skip to main content

dedupe

Function dedupe 

Source
pub fn dedupe(bookmarks: &[Bookmark]) -> (Vec<Bookmark>, DedupeReport)
Expand description

Run the dedupe algorithm.

bookmarks is the input set (any order). The output report is deterministic: the same input produces the same report bytes across runs.

Returned Vec<Bookmark> is the canonical set (one record per canonical URL).