mirror of
https://github.com/NixOS/nix.git
synced 2025-11-12 21:46:01 +01:00
Fix windows build
PR #12767 accidentally broke it.
(cherry picked from commit 99041b4d84)
This commit is contained in:
parent
8adc1f3011
commit
d92b509bda
3 changed files with 6 additions and 8 deletions
|
|
@ -171,12 +171,10 @@ void deletePath(const std::filesystem::path & path, uint64_t & bytesFreed);
|
|||
|
||||
/**
|
||||
* Create a directory and all its parents, if necessary.
|
||||
*
|
||||
* Wrapper around `std::filesystem::create_directories` to handle exceptions.
|
||||
*/
|
||||
void createDirs(const Path & path);
|
||||
inline void createDirs(PathView path)
|
||||
{
|
||||
return createDirs(Path(path));
|
||||
}
|
||||
void createDirs(const std::filesystem::path & path);
|
||||
|
||||
/**
|
||||
* Create a single directory.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue