mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-13 23:10:46 +08:00
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