about summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2024-04-29T14·52+0000
committeredef <edef@edef.eu>2024-04-29T15·33+0000
commitfdecf52a52026c47d393df3316c97d54109f58c4 (patch)
tree56d76dd0adb6d0ea7bb8e26b64ad09b1dc4c368a /nix
parent44bd9543a6d23afd9b735bd8149341ea071019c2 (diff)
refactor(nix-compat/wire/bytes): fold TrailerReader into BytesReader r/8030
The TrailerReader has no purpose separate from BytesReader, and the
code gets a fair bit simpler this way.

EOF handling is simplified, since we just rely on the implicit
behaviour of the existing case.

Change-Id: Id9b9f022c7c89fbc47968a96032fc43553af8290
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11539
Reviewed-by: Brian Olsen <me@griff.name>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions