mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 12:10:59 +01:00
This commit is contained in:
parent
f435abcdb6
commit
4c32f38047
13 changed files with 125 additions and 14 deletions
|
|
@ -571,6 +571,17 @@ static void performOp(Source & from, Sink & to, unsigned int op)
|
|||
break;
|
||||
}
|
||||
|
||||
case wopGetSharedWith: {
|
||||
Path statePath1 = readString(from);
|
||||
Path statePath2;
|
||||
startWork();
|
||||
bool result = store->getSharedWith(statePath1, statePath2);
|
||||
stopWork();
|
||||
writeString(statePath2, to);
|
||||
writeInt(result, to);
|
||||
break;
|
||||
}
|
||||
|
||||
case wopToNonSharedPathSet: {
|
||||
PathSet statePaths = readStringSet(from);
|
||||
startWork();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue