mirror of
https://github.com/NixOS/nix.git
synced 2025-12-21 00:11:08 +01:00
replace all instances of std::filesystem::directory_iterator with DirectoryIterator
(cherry picked from commit 1c4496f4e5)
This commit is contained in:
parent
0f4b17e51f
commit
3d8d19928e
16 changed files with 55 additions and 64 deletions
|
|
@ -136,7 +136,7 @@ static void canonicalisePathMetaData_(
|
|||
#endif
|
||||
|
||||
if (S_ISDIR(st.st_mode)) {
|
||||
for (auto & i : std::filesystem::directory_iterator{path}) {
|
||||
for (auto & i : DirectoryIterator{path}) {
|
||||
checkInterrupt();
|
||||
canonicalisePathMetaData_(
|
||||
i.path().string(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue