mirror of
https://github.com/NixOS/nix
synced 2025-06-27 21:01:16 +02:00
Add TODO
This commit is contained in:
parent
d4ecf15dad
commit
428a3e8cc8
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ namespace nix::lfs {
|
||||||
static void downloadToSink(
|
static void downloadToSink(
|
||||||
const std::string & url,
|
const std::string & url,
|
||||||
const std::string & authHeader,
|
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,
|
StringSink & sink,
|
||||||
std::string sha256Expected,
|
std::string sha256Expected,
|
||||||
size_t sizeExpected)
|
size_t sizeExpected)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue