about summary refs log tree commit diff
path: root/ops/modules/depot-inbox.nix
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2024-04-26T08·10+0000
committeredef <edef@edef.eu>2024-04-26T08·22+0000
commit6e41e0917e56dccd14d368ca638b2f2c47915985 (patch)
tree67a87abed3813e8658e0f5fb28c1e1ed6d9af098 /ops/modules/depot-inbox.nix
parentb2dc135d92abcb27c5a93eec08242dd27c168d78 (diff)
feat(nix-compat/wire/bytes/reader): split out reading the trailer block r/8016
We separate ingesting the trailer block into a Future of its own,
parametrised on the specifics of the trailer pattern.

This is intended to be used for future work on an async NAR reader,
which needs to read a terminating parenthesis as well as the regular
padding.

Thanks to @griff for suggesting separating the ingestion into its own
Future.

Change-Id: I36c2503baa67937046a63e9bf0cfc38201394025
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11522
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/modules/depot-inbox.nix')
0 files changed, 0 insertions, 0 deletions