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