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:
parent
79eb0adf9d
commit
a681d354e7
5 changed files with 150 additions and 0 deletions
12
src/libutil/strings.cc
Normal file
12
src/libutil/strings.cc
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue