From 8ba5d32769560d32cb5e1e83fd30fb6da0b145f4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Sat, 2 Dec 2006 14:27:24 +0000 Subject: * Remove queryPathHash(). * Help for nix-worker. --- src/libstore/remote-store.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/libstore') diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc index bcae21bf7650..2391fd9e87f1 100644 --- a/src/libstore/remote-store.cc +++ b/src/libstore/remote-store.cc @@ -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); } -- cgit 1.4.1