1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 21:01:16 +02:00
This commit is contained in:
Eelco Dolstra 2025-02-10 16:18:57 +01:00
parent d4ecf15dad
commit 428a3e8cc8

View file

@ -19,6 +19,8 @@ namespace nix::lfs {
static void downloadToSink(
const std::string & url,
const std::string & authHeader,
// FIXME: passing a StringSink is superfluous, we may as well
// return a string. Or use an abstract Sink for streaming.
StringSink & sink,
std::string sha256Expected,
size_t sizeExpected)