* Support queryDeriver() in multi-user installations.
This commit is contained in:
parent
9d9e1c5c41
commit
6d1a1191b0
10 changed files with 42 additions and 16 deletions
|
|
@ -277,6 +277,15 @@ static void performOp(Source & from, Sink & to, unsigned int op)
|
|||
break;
|
||||
}
|
||||
|
||||
case wopQueryDeriver: {
|
||||
Path path = readStorePath(from);
|
||||
startWork();
|
||||
Path deriver = store->queryDeriver(path);
|
||||
stopWork();
|
||||
writeString(deriver, to);
|
||||
break;
|
||||
}
|
||||
|
||||
case wopAddToStore: {
|
||||
/* !!! uberquick hack */
|
||||
string baseName = readString(from);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue