pub fn run_download_once(
storage_dir: &str,
db_file_path: &str,
api_endpoint: &str,
remote_token: &str,
namespace_id: i32,
) -> Result<(), SyncError>
Expand description
Runs one-off download of updates from remote server. Note, it’s not very efficient as requires to re-initialize DB connection, chunker, remote client, etc every time it runs.