mirror of
https://github.com/NixOS/nix.git
synced 2024-10-31 14:20:52 +00:00
parent
bd79c1f6f6
commit
3a022d4599
@ -91,6 +91,8 @@ class Store;
|
||||
|
||||
struct Downloader
|
||||
{
|
||||
virtual ~Downloader() { }
|
||||
|
||||
/* Enqueue a download request, returning a future to the result of
|
||||
the download. The future may throw a DownloadError
|
||||
exception. */
|
||||
|
@ -19,6 +19,8 @@ public:
|
||||
uint64_t narOffset = 0; // regular files only
|
||||
};
|
||||
|
||||
virtual ~FSAccessor() { }
|
||||
|
||||
virtual Stat stat(const Path & path) = 0;
|
||||
|
||||
virtual StringSet readDirectory(const Path & path) = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user