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