Skip to main content

push_artifacts

Function push_artifacts 

Source
pub fn push_artifacts<S: BackendSyncClient + ?Sized>(
    sync_client: &S,
    ito_path: &Path,
    change_id: &str,
    backup_dir: &Path,
) -> CoreResult<PushResult>
Expand description

Push local artifacts to the backend with revision conflict detection.

Creates a timestamped backup snapshot before attempting the push. Returns the push result on success or a conflict error.