mirror of
https://github.com/NixOS/nix
synced 2025-06-25 19:01:16 +02:00
Update src/libfetchers/filtering-input-accessor.hh
Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
parent
53ab5d87c2
commit
2bd8322500
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ typedef std::function<RestrictedPathError(const CanonPath & path)> MakeNotAllowe
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An abstract wrapping `InputAccessor` that performs access
|
* An abstract wrapping `InputAccessor` that performs access
|
||||||
* control. Subclasses should override `checkAccess()` to implement an
|
* control. Subclasses should override `isAllowed()` to implement an
|
||||||
* access control policy.
|
* access control policy. The error message is customized at construction.
|
||||||
*/
|
*/
|
||||||
struct FilteringInputAccessor : InputAccessor
|
struct FilteringInputAccessor : InputAccessor
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue