Skip to main content

to_batch_op

Function to_batch_op 

Source
pub(crate) fn to_batch_op(write: RepoWrite) -> BatchOp
Expand description

Converts one wire-level write into the shape Registry::apply_writes takes, dropping nothing: the collection, key and value every variant carries reach the registry exactly as the caller sent them.