mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 21:21:00 +01:00
Convert profiles to use std::filesystem::path
Co-authored-by: Vinayak Goyal <vinayakankugoyal@gmail.com> Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
parent
c7b61f3d13
commit
504c5e7cf9
20 changed files with 154 additions and 103 deletions
|
|
@ -1126,6 +1126,11 @@ std::string StoreDirConfig::showPaths(const StorePathSet & paths) const
|
|||
return s;
|
||||
}
|
||||
|
||||
std::string showPaths(const std::set<std::filesystem::path> paths)
|
||||
{
|
||||
return concatStringsSep(", ", quoteFSPaths(paths));
|
||||
}
|
||||
|
||||
std::string showPaths(const PathSet & paths)
|
||||
{
|
||||
return concatStringsSep(", ", quoteStrings(paths));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue