Skip to main content

commit_copy

Function commit_copy 

Source
pub async fn commit_copy(
    storage: &dyn Storage,
    sinks: &WriteSinks<'_>,
    kb: &KbSlug,
    source: &ObjectPath,
    destination: &ObjectPath,
    options: CopyObjectOptions,
) -> Result<PutOutcome, WriteError>
Expand description

Copy an object natively, enqueue its destination for indexing and publish the change.