From: Maxime Devos <maximedevos@telenet.be>
To: 57718@debbugs.gnu.org
Cc: Maxime Devos <maximedevos@telenet.be>
Subject: [bug#57718] [PATCH 1/3] daemon: Remove unused function openStore.
Date: Sat, 10 Sep 2022 19:20:38 +0200 [thread overview]
Message-ID: <20220910172040.6469-1-maximedevos@telenet.be> (raw)
In-Reply-To: <10bde1ed-a065-d9e2-eec8-22a45da6042a@telenet.be>
* nix/libstore/store-api.cc (openStore): Remove it.
* nix/libstore/store-api.hh (openStore): Likewise.
---
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);
base-commit: 17f646aeba39f0d297f6c911d83b3bd9e88a227b
prerequisite-patch-id: 1f7c45cf2480f4e6f1e9563660e1b73a8682425e
prerequisite-patch-id: 0caac311875ee39cb48573657ebb960e90da6dfb
prerequisite-patch-id: 418285493d89ebf102175902d9b09a0174e88190
prerequisite-patch-id: 3c39eb839d9d3ff3fca6cd98621a5d5c411b7af4
--
2.37.2
next prev parent reply other threads:[~2022-09-10 17:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-10 17:18 [bug#57718] [PATCH 0/3] daemon: Remove unused code Maxime Devos
2022-09-10 17:20 ` Maxime Devos [this message]
2022-09-10 17:20 ` [bug#57718] [PATCH 2/3] daemon: Remove unused function exportPaths Maxime Devos
2022-09-10 17:20 ` [bug#57718] [PATCH 3/3] daemon: Remove unused function findOutput Maxime Devos
2022-09-11 13:54 ` bug#57718: [PATCH 0/3] daemon: Remove unused code Mathieu Othacehe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220910172040.6469-1-maximedevos@telenet.be \
--to=maximedevos@telenet.be \
--cc=57718@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.