mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
dropEmptyInitThenConcatStringsSep -> concatStringSep: store paths are not empty
This commit is contained in:
parent
49d100ba8b
commit
f1966e22d9
4 changed files with 9 additions and 4 deletions
|
@ -22,6 +22,8 @@
|
|||
#include <filesystem>
|
||||
#include <nlohmann/json.hpp>
|
||||
|
||||
#include "strings.hh"
|
||||
|
||||
using json = nlohmann::json;
|
||||
|
||||
namespace nix {
|
||||
|
@ -1208,7 +1210,7 @@ std::string StoreDirConfig::showPaths(const StorePathSet & paths)
|
|||
|
||||
std::string showPaths(const PathSet & paths)
|
||||
{
|
||||
return dropEmptyInitThenConcatStringsSep(", ", quoteStrings(paths));
|
||||
return concatStringsSep(", ", quoteStrings(paths));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue