radicle-heartwood-lfs/radicle-node
Fintan Halpenny c8a24d5584
node: report upload-pack progress
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
2024-05-15 10:07:56 +01:00
..
src node: report upload-pack progress 2024-05-15 10:07:56 +01:00
Cargo.toml node: report upload-pack progress 2024-05-15 10:07:56 +01:00
build.rs Update radicle crates to 0.9.0 2024-03-26 11:56:27 +01:00