Skip to main content

Module duplicates

Module duplicates 

Source
Expand description

Duplicates in the contacts, behind the Contacts page’s “Duplicates”: what the core finds (sioul_core::duplicates) said in words, and what the person chooses: these cards cleaned, this pair merged or kept apart, what was done undone. Each change goes to the address books’ folders at once and their accounts’ sync sends it; nothing changes without a click.

Structs§

CleaningView 🔒
DoneView 🔒
DuplicatesView 🔒
What the Duplicates view shows, in words.
PairView 🔒
Side 🔒
One of a pair’s cards, as the view compares them.

Statics§

LOOKS 🔒
Looks may finish out of order: only the newest is shown.

Functions§

changed 🔒
After a change: each account concerned syncs now, the pages and the duplicates again.
clean 🔒
Takes the duplicates off these cards (a JSON list of their files), one write each; returns what went wrong, else “”.
everyone 🔒
The cards looked at: every one, those waiting for their deletion aside.
find 🔒
Looks for duplicates on a thread; the page reads them in duplicates.
merge 🔒
Merges two cards, lead keeping its name; returns {“key”} (the card kept) or {“error”}.
not_same 🔒
Two cards are not one person: never offered again here; returns what went wrong, else “”.
now 🔒
region 🔒
The country numbers written without one are read as: the settings’, else the system’s.
side 🔒
undo 🔒
Puts the cards back as they were before what was done (id); returns what went wrong, else “”.
view 🔒
The view, from what the core found.
writable 🔒
A card Sioul may change: in its address books, not read-only.