Skip to main content

sync

Function sync 

Source
pub fn sync(
    local: &dyn Local,
    transport: &dyn Transport,
    encryptor: &dyn SyncEncryptor,
    data_dir: &Path,
    report: &dyn Fn(&str),
) -> Result<()>
Expand description

A full pull then push with one peer, recorded as a success for health only once both have finished.