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>2007-02-20T23·17+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-02-20T23·17+0000
commitb824a1daeefd1611c8d84432dc0b2b38f24bbbfd (patch)
tree85e67cde3c6efea8a1ecd9170c09bc66ac248852 /src/libstore/remote-store.cc
parent3390c1be76f648ac0b18199c6204a32d1d6d5fbb (diff)
* Start of `nix-store --export' operation for serialising a store
  path.  This is like `nix-store --dump', only it also dumps the
  meta-information of the store path (references, deriver).  Will add
  a `--sign' flag later to add a cryptographic signature, which we
  will use for exchanging store paths between build farm machines in a
  secure manner.

Diffstat (limited to 'src/libstore/remote-store.cc')
-rw-r--r--src/libstore/remote-store.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstore/remote-store.cc b/src/libstore/remote-store.cc
index e6b34c9b8b27..2fb4dd9802f7 100644
--- a/src/libstore/remote-store.cc
+++ b/src/libstore/remote-store.cc
@@ -243,6 +243,13 @@ Path RemoteStore::addTextToStore(const string & suffix, const string & s,
 }
 
 
+void RemoteStore::exportPath(const Path & path, bool sign,
+    Sink & sink)
+{
+    throw Error("not implemented");
+}
+
+
 void RemoteStore::buildDerivations(const PathSet & drvPaths)
 {
     writeInt(wopBuildDerivations, to);