Skip to main content

step

Function step 

Source
pub fn step(
    memory: &Path,
    folder: &Path,
    own: &str,
    login: &Login,
    now: i64,
    whole: bool,
) -> Pulled
Expand description

One step of Sioul keeping the folder itself (MIRROR): with whole, the server’s folder looked through first and the other devices’ newer files brought into the copy here, as pull brings them beside a synced folder; then this device’s own files changed since they went up, or changed there since, sent (Puller::push), its records first, its sealed files last; then the others’ sealed notes, papers and spam filter’s tables brought (Puller::fetch_blobs). A large sealed file on a slow line, going up or coming down, never holds back the records: the doses’ answers go first. Never another device’s file written; nothing here lost when the server refuses. One step at a time on this device, whichever process runs it.