diff options
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/remote-store.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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); } |