Function create_snapshot

Source
pub async fn create_snapshot(
    state: AppState,
    ref_id: Uuid,
) -> Result<(), AppError>
Expand description

Saves the document by replacing the head with a new snapshot.

The snapshot at the previous head is not deleted.