about summary refs log tree commit diff
path: root/src/nix-store/nix-store.cc
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2019-08-12T19·03+0200
committerzimbatm <zimbatm@zimbatm.com>2019-08-16T13·05+0200
commit91b00b145f0c50e346d0250168cbcbcba7aa3b40 (patch)
treea29e7a9b454b29cd61dc12204ea4c370a02d1066 /src/nix-store/nix-store.cc
parentb7ea98bf3409a29bb6412c6a17a896ba1c1f524a (diff)
libutil: add SizedSource
Introduce the SizeSource which allows to bound how much data is being
read from a source. It also contains a drainAll() function to discard
the rest of the source, useful to keep the nix protocol in sync.
Diffstat (limited to 'src/nix-store/nix-store.cc')
0 files changed, 0 insertions, 0 deletions