parent
bd79c1f6f6
commit
3a022d4599
|
@ -91,6 +91,8 @@ class Store;
|
||||||
|
|
||||||
struct Downloader
|
struct Downloader
|
||||||
{
|
{
|
||||||
|
virtual ~Downloader() { }
|
||||||
|
|
||||||
/* Enqueue a download request, returning a future to the result of
|
/* Enqueue a download request, returning a future to the result of
|
||||||
the download. The future may throw a DownloadError
|
the download. The future may throw a DownloadError
|
||||||
exception. */
|
exception. */
|
||||||
|
|
|
@ -19,6 +19,8 @@ public:
|
||||||
uint64_t narOffset = 0; // regular files only
|
uint64_t narOffset = 0; // regular files only
|
||||||
};
|
};
|
||||||
|
|
||||||
|
virtual ~FSAccessor() { }
|
||||||
|
|
||||||
virtual Stat stat(const Path & path) = 0;
|
virtual Stat stat(const Path & path) = 0;
|
||||||
|
|
||||||
virtual StringSet readDirectory(const Path & path) = 0;
|
virtual StringSet readDirectory(const Path & path) = 0;
|
||||||
|
|
Loading…
Reference in a new issue