mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
Fix FilteringInputAccessor::pathExists()
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
b48e64162a
commit
5e3cd3e292
1 changed files with 1 additions and 2 deletions
|
@ -29,8 +29,7 @@ struct FilteringInputAccessor : InputAccessor
|
||||||
|
|
||||||
bool pathExists(const CanonPath & path) override
|
bool pathExists(const CanonPath & path) override
|
||||||
{
|
{
|
||||||
checkAccess(path);
|
return isAllowed(path) && next->pathExists(prefix + path);
|
||||||
return next->pathExists(prefix + path);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Stat lstat(const CanonPath & path) override
|
Stat lstat(const CanonPath & path) override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue