1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 16:51:15 +02:00

Add fresh concatStringsSep without bug

The buggy version was previously renamed to
dropEmptyInitThenConcatStringsSep
This commit is contained in:
Robert Hensing 2024-07-12 23:02:08 +02:00
parent 79eb0adf9d
commit a681d354e7
5 changed files with 150 additions and 0 deletions

12
src/libutil/strings.cc Normal file
View file

@ -0,0 +1,12 @@
#include <string>
#include "strings-inline.hh"
#include "util.hh"
namespace nix {
template std::string concatStringsSep(std::string_view, const Strings &);
template std::string concatStringsSep(std::string_view, const StringSet &);
template std::string concatStringsSep(std::string_view, const std::vector<std::string> &);
} // namespace nix