mirror of
https://github.com/NixOS/nix
synced 2025-07-05 12:21:48 +02:00
Remove FSAccessor::Type::tMissing
Instead stat() now returns std::nullopt to denote that the file doesn't exist.
This commit is contained in:
parent
e3febfcd53
commit
b2ac6fc040
10 changed files with 77 additions and 74 deletions
|
@ -28,7 +28,7 @@ public:
|
|||
RemoteFSAccessor(ref<Store> store,
|
||||
const /* FIXME: use std::optional */ Path & cacheDir = "");
|
||||
|
||||
Stat stat(const Path & path) override;
|
||||
std::optional<Stat> stat(const Path & path) override;
|
||||
|
||||
StringSet readDirectory(const Path & path) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue