Skip to main content

commit

Function commit 

Source
pub async fn commit(
    storage: &dyn Storage,
    indexer_tx: &Sender<IndexEvent>,
    kb: &KbSlug,
    path: &ObjectPath,
    bytes: Bytes,
    caller_content_type: Option<&str>,
    conditionals: ConditionalHeaders,
) -> Result<PutOutcome, WriteError>
Expand description

Store an object and enqueue a best-effort index upsert event.