me
/
guix
Archived
1
0
Fork 0

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>
master
Maxime Devos 2022-09-10 19:20:38 +02:00 committed by Mathieu Othacehe
parent 6519b1d59c
commit 1c5f5d6d8c
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
2 changed files with 0 additions and 11 deletions

View File

@ -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));
}
}

View File

@ -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);