This is an archive of the discontinued Mercurial Phabricator instance.

wireprotov2: establish dedicated classes for input and output streams
ClosedPublic

Authored by indygreg on Oct 8 2018, 8:29 PM.

Details

Summary

Streams are unidirectional. As part of implementing encoding/decoding
support, it became clear that it didn't make sense for a generic
"stream" class to hold functionality related to both encoding and
decoding. So we create new classes to represent the flavor of
stream.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Oct 8 2018, 8:29 PM
This revision was automatically updated to reflect the committed changes.