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

Function pull_files

rust/src/collaboration/sync.rs:508–517  ·  view source on GitHub ↗

TODO: This needs to be removed imo

(database: &Database)

Source from the content-addressed store, hash-verified

506
507// TODO: This needs to be removed imo
508pub(crate) fn pull_files(database: &Database) -> Result<bool, ()> {
509 if !pull_projects(database)? {
510 return Ok(false);
511 }
512 let Some(project) = get_remote_project_for_local_database(database)? else {
513 return Ok(false);
514 };
515 project.pull_files()?;
516 Ok(true)
517}
518
519/// Completely sync a type archive, pushing/pulling/merging/applying changes
520///

Callers 1

Calls 3

pull_projectsFunction · 0.85
pull_filesMethod · 0.45

Tested by

no test coverage detected