binaryninja::collaboration

Function upload_database_with_progress

source
pub fn upload_database_with_progress<P: ProgressCallback, N: NameChangeset>(
    project: &RemoteProject,
    parent_folder: Option<&RemoteFolder>,
    metadata: &FileMetadata,
    name_changeset: N,
    progress: P,
) -> Result<Ref<RemoteFile>, ()>
Expand description

Upload a file, with database, to the remote under the given project

  • metadata - Local file with database
  • project - Remote project under which to place the new file
  • parent_folder - Optional parent folder in which to place this file
  • name_changeset - Function to call for naming a pushed changeset, if necessary
  • progress - Function to call for progress updates