mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
MountedSourceAccessor: Remove redundant pathExists() method
This commit is contained in:
parent
641733fd26
commit
c3d8799f9f
1 changed files with 0 additions and 6 deletions
|
@ -23,12 +23,6 @@ struct MountedSourceAccessor : SourceAccessor
|
||||||
return accessor->readFile(subpath);
|
return accessor->readFile(subpath);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool pathExists(const CanonPath & path) override
|
|
||||||
{
|
|
||||||
auto [accessor, subpath] = resolve(path);
|
|
||||||
return accessor->pathExists(subpath);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::optional<Stat> maybeLstat(const CanonPath & path) override
|
std::optional<Stat> maybeLstat(const CanonPath & path) override
|
||||||
{
|
{
|
||||||
auto [accessor, subpath] = resolve(path);
|
auto [accessor, subpath] = resolve(path);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue