Skip to main content

sealed_for

Function sealed_for 

Source
fn sealed_for(
    folder: &Path,
    key: &[u8; 32],
) -> Result<Option<(bool, String)>, ()>
Expand description

The sharing folder as each exchange finds it first (review of 5 October 2026, F5 and F20). Gone (a disk not mounted, a sync app’s folder moved): an error, and nothing is made, read or written (share-no-seal), never a new empty folder whose files would later meet the real ones as conflicted copies. Else its seal: none (a seal that does not read, an empty placeholder of one, is none), or whether it opens with this device’s key, and its salt (which sharing it is). Gone, or not opening, where this device saw it open before (Memory::seal_seen: a folder made again by a sync app, another device’s seal put in its place), nothing is written either, said (share-no-seal, share-sealed-otherwise): never under a key the others lack; sharing set up again with the passphrase the folder’s seal holds mends it.