pub async fn commit<B: Into<StagedBody>>(
storage: &dyn Storage,
indexer_tx: &Sender<IndexEvent>,
kb: &KbSlug,
path: &ObjectPath,
body: B,
caller_content_type: Option<&str>,
conditionals: ConditionalHeaders,
) -> Result<PutOutcome, WriteError>Expand description
Store an object and enqueue a best-effort index upsert event.