@@ -76,9 +76,9 @@ pub type PushUpdateReference<'a> = dyn FnMut(&str, Option<&str>) -> Result<(), E
76
76
/// Callback for push transfer progress
77
77
///
78
78
/// Parameters:
79
- /// * current
80
- /// * total
81
- /// * bytes
79
+ /// * current
80
+ /// * total
81
+ /// * bytes
82
82
pub type PushTransferProgress < ' a > = dyn FnMut ( usize , usize , usize ) + ' a ;
83
83
84
84
/// Callback for pack progress
@@ -87,9 +87,9 @@ pub type PushTransferProgress<'a> = dyn FnMut(usize, usize, usize) + 'a;
87
87
/// so performance may be affected.
88
88
///
89
89
/// Parameters:
90
- /// * stage
91
- /// * current
92
- /// * total
90
+ /// * stage
91
+ /// * current
92
+ /// * total
93
93
pub type PackProgress < ' a > = dyn FnMut ( PackBuilderStage , usize , usize ) + ' a ;
94
94
95
95
/// The callback is called once between the negotiation step and the upload.
@@ -209,9 +209,9 @@ impl<'a> RemoteCallbacks<'a> {
209
209
/// The callback through which progress of push transfer is monitored
210
210
///
211
211
/// Parameters:
212
- /// * current
213
- /// * total
214
- /// * bytes
212
+ /// * current
213
+ /// * total
214
+ /// * bytes
215
215
pub fn push_transfer_progress < F > ( & mut self , cb : F ) -> & mut RemoteCallbacks < ' a >
216
216
where
217
217
F : FnMut ( usize , usize , usize ) + ' a ,
@@ -226,9 +226,9 @@ impl<'a> RemoteCallbacks<'a> {
226
226
/// so performance may be affected.
227
227
///
228
228
/// Parameters:
229
- /// * stage
230
- /// * current
231
- /// * total
229
+ /// * stage
230
+ /// * current
231
+ /// * total
232
232
pub fn pack_progress < F > ( & mut self , cb : F ) -> & mut RemoteCallbacks < ' a >
233
233
where
234
234
F : FnMut ( PackBuilderStage , usize , usize ) + ' a ,
0 commit comments