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

Method pull_projects_with_progress

rust/src/collaboration/remote.rs:330–342  ·  view source on GitHub ↗

Pulls the list of projects from the Remote. # Arguments `progress` - Function to call for progress updates

(
        &self,
        mut progress: F,
    )

Source from the content-addressed store, hash-verified

328 ///
329 /// * `progress` - Function to call for progress updates
330 pub fn pull_projects_with_progress<F: ProgressCallback>(
331 &self,
332 mut progress: F,
333 ) -> Result<(), ()> {
334 let success = unsafe {
335 BNRemotePullProjects(
336 self.handle.as_ptr(),
337 Some(F::cb_progress_callback),
338 &mut progress as *mut F as *mut c_void,
339 )
340 };
341 success.then_some(()).ok_or(())
342 }
343
344 /// Creates a new project on the remote (and pull it).
345 ///

Callers 1

pull_projectsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected