mirror of
https://github.com/NixOS/nix
synced 2025-07-08 02:43:54 +02:00
* Flags to indicate how values are specified on the command line
(--hash, --file, --name).
This commit is contained in:
parent
5079ccb455
commit
85effedca3
4 changed files with 137 additions and 64 deletions
|
@ -46,3 +46,13 @@ struct DumpSink
|
|||
};
|
||||
|
||||
void dumpPath(const string & path, DumpSink & sink);
|
||||
|
||||
|
||||
struct ReadSource
|
||||
{
|
||||
/* The callee should store exactly *len bytes in the buffer
|
||||
pointed to by data. It should block if that much data is not
|
||||
yet available, or throw an error if it is not going to be
|
||||
available. */
|
||||
virtual void operator () (const unsigned char * data, unsigned int len) = 0;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue