libstore: asyncify Store::isValidPath

Change-Id: I2b98781c04944282fd1219cbec0804fd1ceb6765
This commit is contained in:
eldritch horrors
2025-03-05 18:49:45 +01:00
parent fb2a808604
commit 90caba8489
28 changed files with 120 additions and 94 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ static void fetch(EvalState & state, const PosIdx pos, Value * * args, Value & v
.references = {}
});
if (state.ctx.store->isValidPath(expectedPath)) {
if (state.aio.blockOn(state.ctx.store->isValidPath(expectedPath))) {
state.ctx.paths.allowAndSetStorePathString(expectedPath, v);
return;
}