From 5ab92a703fe01634e086cbf278dc8ca36c438a54 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Wed, 27 Aug 2025 21:02:59 -0400 Subject: Add auto downloading of project file dependencies, clean up download APIs --- binaryninjaapi.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 5460046b..0dae43cd 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -22249,13 +22249,21 @@ namespace BinaryNinja::Collaboration */ void DeleteSnapshot(const Ref snapshot); + /*! + Download a remote file and possibly dependencies to its project + Dependency download behavior depends on the value of the collaboration.autoDownloadFileDependencies setting + \param progress Function to call on progress updates + \throws RemoteException If there is an error in any request or if the remote is not connected + */ + void Download(ProgressFunction progress = DefaultProgressFunction); + /*! Download the contents of a remote file \param progress Function to call on progress updates \return Contents of the file \throws RemoteException If there is an error in any request or if the remote is not connected */ - std::vector Download(ProgressFunction progress = {}); + std::vector DownloadContents(ProgressFunction progress = {}); /*! Get the current user positions for this file -- cgit v1.3.1