taskchampion_sync_server_core

Function add_version

Source
pub fn add_version<'a>(
    txn: Box<dyn StorageTxn + 'a>,
    config: &ServerConfig,
    client_id: ClientId,
    client: Client,
    parent_version_id: VersionId,
    history_segment: HistorySegment,
) -> Result<(AddVersionResult, SnapshotUrgency)>
Expand description

Implementation of the AddVersion protocol transaction