diff options
author | eldritch horrors <pennae@lix.systems> | 2024-05-15 16:45:46 +0200 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-07-11 20:37:27 +0000 |
commit | 03db4efab90b72c15cb5513debb3ad1563e70cf7 (patch) | |
tree | 6420f401d1b0dda1491eed854380cf71d77b087f /src/libstore/daemon.cc | |
parent | 31478c810a79403fbb670ef7c4ef1d0d48271c80 (diff) |
libstore: turn the NAR parser into a passthrough generator
this will let us turn copyNAR into a generator as well, which in turn is
necessary to turn the users of copyNAR into generators without resorting
to sinkToSource coroutines. currently this uses the SerializingTransform
in all cases, even for copyNAR where it is not necessary. should this be
a performance problem we can easily swap out the transform for one which
does not produce any bytes of its own, but that should not be necessary.
Change-Id: I7e685879318fcbb78d8b88abfddd7752360eb0ce
Diffstat (limited to 'src/libstore/daemon.cc')
0 files changed, 0 insertions, 0 deletions