aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/path.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/path.cc')
-rw-r--r--src/libstore/path.cc23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/libstore/path.cc b/src/libstore/path.cc
index bb2089ea4..b3d8ce95c 100644
--- a/src/libstore/path.cc
+++ b/src/libstore/path.cc
@@ -84,29 +84,6 @@ PathSet Store::printStorePathSet(const StorePathSet & paths) const
return res;
}
-StorePathSet cloneStorePathSet(const StorePathSet & paths)
-{
- StorePathSet res;
- for (auto & p : paths)
- res.insert(p.clone());
- return res;
-}
-
-StorePathSet storePathsToSet(const StorePaths & paths)
-{
- StorePathSet res;
- for (auto & p : paths)
- res.insert(p.clone());
- return res;
-}
-
-StorePathSet singleton(const StorePath & path)
-{
- StorePathSet res;
- res.insert(path.clone());
- return res;
-}
-
std::pair<std::string_view, StringSet> parsePathWithOutputs(std::string_view s)
{
size_t n = s.find("!");