pub trait CloneProgress: Send + Sync {
// Required methods
fn on_start(&self, repo: &OwnedRepo, index: usize, total: usize);
fn on_complete(&self, repo: &OwnedRepo, index: usize, total: usize);
fn on_error(
&self,
repo: &OwnedRepo,
error: &str,
index: usize,
total: usize,
);
fn on_skip(
&self,
repo: &OwnedRepo,
reason: &str,
index: usize,
total: usize,
);
}Expand description
Progress callback for clone operations.
Required Methods§
Sourcefn on_complete(&self, repo: &OwnedRepo, index: usize, total: usize)
fn on_complete(&self, repo: &OwnedRepo, index: usize, total: usize)
Called when a clone completes successfully.