* Remove queryPathHash().
* Help for nix-worker.
This commit is contained in:
parent
fcd9900d74
commit
8ba5d32769
4 changed files with 32 additions and 2 deletions
|
|
@ -98,7 +98,10 @@ bool RemoteStore::hasSubstitutes(const Path & path)
|
|||
|
||||
Hash RemoteStore::queryPathHash(const Path & path)
|
||||
{
|
||||
throw Error("not implemented 3");
|
||||
writeInt(wopQueryPathHash, to);
|
||||
writeString(path, to);
|
||||
string hash = readString(from);
|
||||
return parseHash(htSHA256, hash);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue