mirror of
https://github.com/NixOS/nix
synced 2025-07-07 22:33:57 +02:00
Shut up some warnings
(cherry picked from commit99e8e58f2d
) (cherry picked from commit3a022d4599
)
This commit is contained in:
parent
4d83eb6206
commit
9f53bc33e7
2 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue