summary refs log tree commit diff
path: root/nix/libstore/local-store.hh
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-01 22:21:42 +0200
committerLudovic Courtès <ludo@gnu.org>2015-05-11 17:31:02 +0200
commit6621195e48f8e0cbbe6e19dbcde30bd8a7da0399 (patch)
tree740e6a86bc1f2b5904a4e96d34cf843469c762f0 /nix/libstore/local-store.hh
parent3bb89c3a31b9cf6e056f3659389e2d2e7afd17fa (diff)
downloadguix-6621195e48f8e0cbbe6e19dbcde30bd8a7da0399.tar.gz
Add an 'optimiseStore' remote procedure call.
Diffstat (limited to 'nix/libstore/local-store.hh')
-rw-r--r--nix/libstore/local-store.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/libstore/local-store.hh b/nix/libstore/local-store.hh
index e58e6563f1..dccdba533a 100644
--- a/nix/libstore/local-store.hh
+++ b/nix/libstore/local-store.hh
@@ -167,6 +167,9 @@ public:
        files with the same contents. */
     void optimiseStore(OptimiseStats & stats);
 
+    /* Generic variant of the above method.  */
+    void optimiseStore();
+
     /* Optimise a single store path. */
     void optimisePath(const Path & path);