Update src/libfetchers/filtering-input-accessor.hh

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
Eelco Dolstra 2023-12-06 14:08:40 +01:00 committed by GitHub
parent 53ab5d87c2
commit 2bd8322500
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,8 +13,8 @@ typedef std::function<RestrictedPathError(const CanonPath & path)> MakeNotAllowe
/**
* An abstract wrapping `InputAccessor` that performs access
* control. Subclasses should override `checkAccess()` to implement an
* access control policy.
* control. Subclasses should override `isAllowed()` to implement an
* access control policy. The error message is customized at construction.
*/
struct FilteringInputAccessor : InputAccessor
{