diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-02T14·27+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2006-12-02T14·27+0000 |
commit | 8ba5d32769560d32cb5e1e83fd30fb6da0b145f4 (patch) | |
tree | 5387182858fe66bba87f0f0891507fc248ccbaef /src/libstore | |
parent | fcd9900d74b0eb3d57402c448ede2a411133fa46 (diff) |
* Remove queryPathHash().
* Help for nix-worker.
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); } |