aur_fetch/callback.rs
1/// Callback called whenever a download completes.
2#[derive(Debug)]
3pub struct Callback<'a> {
4 /// The name of the package that completed.
5 pub pkg: &'a str,
6 /// The amount of packages that have finished downloading.
7 pub n: usize,
8 /// Output of the git command called to download the package.
9 pub output: &'a str,
10}