[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/13: daemon: Remove unused function exportPaths.
From: |
guix-commits |
Subject: |
02/13: daemon: Remove unused function exportPaths. |
Date: |
Sun, 11 Sep 2022 10:43:57 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit 93032586df6b925e1ed9102dc3a77aa626aa60d3
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sat Sep 10 19:20:39 2022 +0200
daemon: Remove unused function exportPaths.
* nix/libstore/store-api.cc (exportPaths): Remove it.
* nix/libstore/store-api.hh (exportPaths): Likewise.
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
nix/libstore/store-api.cc | 11 -----------
nix/libstore/store-api.hh | 7 -------
2 files changed, 18 deletions(-)
diff --git a/nix/libstore/store-api.cc b/nix/libstore/store-api.cc
index e3a8ac0995..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);
diff --git a/nix/libstore/store-api.hh b/nix/libstore/store-api.hh
index 0693085a25..82a79e50e2 100644
--- a/nix/libstore/store-api.hh
+++ b/nix/libstore/store-api.hh
@@ -369,13 +369,6 @@ extern std::shared_ptr<StoreAPI> store;
and separated by commas). */
string showPaths(const PathSet & paths);
-
-/* Export multiple paths in the format expected by ‘nix-store
- --import’. */
-void exportPaths(StoreAPI & store, const Paths & paths,
- bool sign, Sink & sink);
-
-
MakeError(SubstError, Error)
MakeError(BuildError, Error) /* denotes a permanent build failure */
- 04/13: gnu: python-qrcode: Update to 7.3.1., (continued)
- 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, 2022/09/11
- 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 <=
- 13/13: gnu: Add steam-devices-udev-rules., guix-commits, 2022/09/11