Skip to main content

texts_media

Function texts_media 

Source
fn texts_media(
    sharing: &Sharing<'_>,
    stores: &[Store],
    memory: &Memory,
    counted: &[(String, Counted)],
) -> Option<BTreeSet<String>>
Expand description

The sealed files the texts name, by name (blobs::name): each part of every text in each phone’s log as this device holds it (TEXTS_LOG, each line sealed at rest, textseal), the texts taken out included. None when they are not known here: the texts not shared on this device, or a whole line of their log that does not open or read (a last line still being written, with no line break yet, is passed over: its medium went into the folder before it, and is fresh there); then no other device’s sealed file is swept here (sweep_theirs). A sharing where no phone was ever seen (every other device known here by its entry, none a phone, nor this one) holds none: only a phone brings the texts’ media.