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

Method download

rust/src/collaboration/file.rs:431–436  ·  view source on GitHub ↗

TODO: AsRef Download a file from its remote, saving all snapshots to a database in the specified location. Returns a FileContext for opening the file later. `db_path` - File path for saved database `progress_function` - Function to call for progress updates

(&self, db_path: S)

Source from the content-addressed store, hash-verified

429 /// * `db_path` - File path for saved database
430 /// * `progress_function` - Function to call for progress updates
431 pub fn download<S>(&self, db_path: S) -> Result<Ref<FileMetadata>, ()>
432 where
433 S: BnStrCompatible,
434 {
435 sync::download_file(self, db_path)
436 }
437
438 // TODO: AsRef<Path>
439 /// Download a file from its remote, saving all snapshots to a database in the

Callers 1

download_databaseMethod · 0.45

Calls 1

download_fileFunction · 0.70

Tested by

no test coverage detected