* Remove queryPathHash().

* Help for nix-worker.
This commit is contained in:
Eelco Dolstra 2006-12-02 14:27:24 +00:00
parent fcd9900d74
commit 8ba5d32769
4 changed files with 32 additions and 2 deletions

View file

@ -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);
}