summaryrefslogtreecommitdiff
path: root/nix/libstore/store-api.cc
diff options
context:
space:
mode:
Diffstat (limited to 'nix/libstore/store-api.cc')
-rw-r--r--nix/libstore/store-api.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/nix/libstore/store-api.cc b/nix/libstore/store-api.cc
index 0de0b6b298..781fb9e693 100644
--- a/nix/libstore/store-api.cc
+++ b/nix/libstore/store-api.cc
@@ -236,17 +236,6 @@ string showPaths(const PathSet & paths)
return s;
}
-
-void exportPaths(StoreAPI & store, const Paths & paths,
- bool sign, Sink & sink)
-{
- foreach (Paths::const_iterator, i, paths) {
- writeInt(1, sink);
- store.exportPath(*i, sign, sink);
- }
- writeInt(0, sink);
-}
-
Path readStorePath(Source & from)
{
Path path = readString(from);
@@ -277,10 +266,4 @@ namespace nix {
std::shared_ptr<StoreAPI> store;
-std::shared_ptr<StoreAPI> openStore(bool reserveSpace)
-{
- return std::shared_ptr<StoreAPI>(new LocalStore(reserveSpace));
-}
-
-
}