diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-06-16 22:20:18 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-06-16 22:20:18 +0200 |
commit | 29542865cee37ab22efe1bd142900b69f6c59f0d (patch) | |
tree | 0115a7d831276f14144aeaeae430e680e5ab0297 /src/libstore/path.cc | |
parent | df4da4f5da1e390ac1eef5bfd455a8cf85dfe52c (diff) |
Remove StorePath::clone() and related functions
Diffstat (limited to 'src/libstore/path.cc')
-rw-r--r-- | src/libstore/path.cc | 23 |
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("!"); |