binaryninja::collaboration

Function upload_database

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

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

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