src/libfetchers/union-input-accessor.cc: Apply suggestion

Co-authored-by: Robert Hensing <roberth@users.noreply.github.com>
This commit is contained in:
Eelco Dolstra 2023-11-14 13:57:24 +01:00 committed by GitHub
parent 38b07d6347
commit 25cf8f1071
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,8 +12,7 @@ struct UnionInputAccessor : InputAccessor
// Currently we require a root filesystem. This could be relaxed. // Currently we require a root filesystem. This could be relaxed.
assert(mounts.contains(CanonPath::root)); assert(mounts.contains(CanonPath::root));
// FIXME: should check that every mount point exists. Or we // FIXME: return dummy parent directories automatically?
// could return dummy parent directories automatically.
} }
std::string readFile(const CanonPath & path) override std::string readFile(const CanonPath & path) override