about summary refs log tree commit diff
path: root/src/libstore/remote-store.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-02-25T15·52+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-02-25T15·52+0000
commite42401ee7b0c0b166677595d4fd1255176ba33c2 (patch)
tree084c328df6c2295f612a8a888e0f2527bcf6ec97 /src/libstore/remote-store.cc
parentaf565c348a286fb55ad17f8c3c4233465d32a9f6 (diff)
* Implement RemoteStore::queryDerivationOutputs().
Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r--src/libstore/remote-store.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index 07cb62dc80a4..b438c074fb51 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -296,7 +296,11 @@ Path RemoteStore::queryDeriver(const Path & path)
 
 PathSet RemoteStore::queryDerivationOutputs(const Path & path)
 {
-    throw Error("not yet implemented");
+    openConnection();
+    writeInt(wopQueryDerivationOutputs, to);
+    writeString(path, to);
+    processStderr();
+    return readStorePaths(from);
 }