[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/13: daemon: Remove unused function openStore.
From: |
guix-commits |
Subject: |
01/13: daemon: Remove unused function openStore. |
Date: |
Sun, 11 Sep 2022 10:43:57 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit 1c5f5d6d8cb3bd42ed436e31366a328598165734
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Sep 10 19:20:38 2022 +0200
daemon: Remove unused function openStore.
* nix/libstore/store-api.cc (openStore): Remove it.
* nix/libstore/store-api.hh (openStore): Likewise.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
nix/libstore/store-api.cc | 6 ------
nix/libstore/store-api.hh | 5 -----
2 files changed, 11 deletions(-)
diff --git a/nix/libstore/store-api.cc b/nix/libstore/store-api.cc
index 0de0b6b298..e3a8ac0995 100644
--- a/nix/libstore/store-api.cc
+++ b/nix/libstore/store-api.cc
@@ -277,10 +277,4 @@ namespace nix {
std::shared_ptr<StoreAPI> store;
-std::shared_ptr<StoreAPI> openStore(bool reserveSpace)
-{
- return std::shared_ptr<StoreAPI>(new LocalStore(reserveSpace));
-}
-
-
}
diff --git a/nix/libstore/store-api.hh b/nix/libstore/store-api.hh
index 7d2ad2270d..0693085a25 100644
--- a/nix/libstore/store-api.hh
+++ b/nix/libstore/store-api.hh
@@ -365,11 +365,6 @@ Paths topoSortPaths(StoreAPI & store, const PathSet &
paths);
extern std::shared_ptr<StoreAPI> store;
-/* Factory method: open the Nix database, either through the local or
- remote implementation. */
-std::shared_ptr<StoreAPI> openStore(bool reserveSpace = true);
-
-
/* Display a set of paths in human-readable form (i.e., between quotes
and separated by commas). */
string showPaths(const PathSet & paths);
- branch master updated (6519b1d59c -> 5ed679a2a9), guix-commits, 2022/09/11
- 07/13: gnu: font-plemoljp: Update to 1.2.7., guix-commits, 2022/09/11
- 04/13: gnu: python-qrcode: Update to 7.3.1., guix-commits, 2022/09/11
- 03/13: daemon: Remove unused function findOutput., guix-commits, 2022/09/11
- 11/13: gnu: java-slf4j-api: Update the source URI., guix-commits, 2022/09/11
- 06/13: gnu: nheko: Update to 0.10.1., guix-commits, 2022/09/11
- 12/13: gnu: janet: Update to 1.24.1., guix-commits, 2022/09/11
- 08/13: gnu: recoll: Update to 1.32.7., guix-commits, 2022/09/11
- 01/13: daemon: Remove unused function openStore.,
guix-commits <=
- 05/13: gnu: mtxclient: Update to 0.8.2., guix-commits, 2022/09/11
- 09/13: gnu: v4l2loopback-linux-module: Update to 0.12.7., guix-commits, 2022/09/11
- 10/13: gnu: plantuml: Update to 1.2022.7., guix-commits, 2022/09/11
- 02/13: daemon: Remove unused function exportPaths., guix-commits, 2022/09/11
- 13/13: gnu: Add steam-devices-udev-rules., guix-commits, 2022/09/11