taskchampion_sync_server_core

Function add_snapshot

Source
pub fn add_snapshot<'a>(
    txn: Box<dyn StorageTxn + 'a>,
    _config: &ServerConfig,
    client_id: ClientId,
    client: Client,
    version_id: VersionId,
    data: Vec<u8>,
) -> Result<()>
Expand description

Implementation of the AddSnapshot protocol transaction