cooklang_sync_client

Function run

Source
pub fn run(
    storage_dir: &str,
    db_file_path: &str,
    api_endpoint: &str,
    remote_token: &str,
    namespace_id: i32,
    download_only: bool,
) -> Result<(), SyncError>
Expand description

Synchronous alias to async run function. Intended to used by external (written in other languages) callers.