MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / upload_database

Function upload_database

rust/src/collaboration/sync.rs:87–100  ·  view source on GitHub ↗

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

(
    project: &RemoteProject,
    parent_folder: Option<&RemoteFolder>,
    metadata: &FileMetadata,
    name_changeset: N,
)

Source from the content-addressed store, hash-verified

85/// * `metadata` - Local file with database
86/// * `name_changeset` - Function to call for naming a pushed changeset, if necessary
87pub fn upload_database<N: NameChangeset>(
88 project: &RemoteProject,
89 parent_folder: Option<&RemoteFolder>,
90 metadata: &FileMetadata,
91 name_changeset: N,
92) -> Result<Ref<RemoteFile>, ()> {
93 upload_database_with_progress(
94 project,
95 parent_folder,
96 metadata,
97 name_changeset,
98 NoProgressCallback,
99 )
100}
101
102/// Upload a file, with database, to the remote under the given project
103///

Callers 1

upload_databaseMethod · 0.70

Calls 1

Tested by

no test coverage detected