mirror of
https://github.com/NixOS/nix
synced 2025-06-30 07:33:16 +02:00
Add Source.drainInto(Sink)
This commit is contained in:
parent
9ee3122ec7
commit
29c82ccc77
2 changed files with 12 additions and 3 deletions
|
@ -69,6 +69,8 @@ struct Source
|
|||
|
||||
virtual bool good() { return true; }
|
||||
|
||||
void drainInto(Sink & sink);
|
||||
|
||||
std::string drain();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue