diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2016-12-06 23:17:16 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2016-12-06 23:18:50 +0100 |
commit | 5990aeb7198a4961a363eeb422a3faa57c8dc029 (patch) | |
tree | 67dfad381361e34b18b9afcb36142d97a29117ac /plumbing/protocol/packp/sideband/demux.go | |
parent | 17e3f85613b511c4134ebba5648142887a7b8812 (diff) | |
download | go-git-5990aeb7198a4961a363eeb422a3faa57c8dc029.tar.gz |
revision based on goreportcard.com
Diffstat (limited to 'plumbing/protocol/packp/sideband/demux.go')
-rw-r--r-- | plumbing/protocol/packp/sideband/demux.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plumbing/protocol/packp/sideband/demux.go b/plumbing/protocol/packp/sideband/demux.go index 09fe57d..1669ed4 100644 --- a/plumbing/protocol/packp/sideband/demux.go +++ b/plumbing/protocol/packp/sideband/demux.go @@ -20,17 +20,17 @@ type Progress interface { // Demuxer demultiplex the progress reports and error info interleaved with the // packfile itself. // -// A sideband has three diferent channels the main one call PackData contains +// A sideband has three different channels the main one call PackData contains // the packfile data, the ErrorMessage channel, that contains server errors and // the last one ProgressMessage channel containing information about the ongoing -// tast happening in the server (optinal, can be suppressed sending NoProgress +// task happening in the server (optinal, can be suppressed sending NoProgress // or Quiet capabilities to the server) // // In order to demultiplex the data stream, method `Read` should be called to // retrieve the PackData channel, the incoming data from the ProgressMessage is // stored and can be read from `Progress` field, if any message is retrieved // from the ErrorMessage channel an error is returned and we can assume that the -// conection has been closed. +// connection has been closed. type Demuxer struct { t Type r io.Reader |