Emit the `UploadPack` events from the `upload_pack` method. A wrapper type, `Reporter`, is introduced for implementing a `Write` instance that will parse the given bytes as `gix_protocol::RemoteProgress`, if possible, and emit it via the `Emitter`, and then write the bytes to the underlying writer. This allows any subscribers to see the progress of an upload-pack, i.e. `Compressing objects`, `Counting object`, `Enumerating objects`. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| build.rs | ||