You can't open a child directory whilst iterating a directory. We should support that because otherwise you have to cache all the child names and then do an expensive directory walk to find them again.
If we were smart we'd let you trade one directory handle for another and use .. to pop back, so we only have one directory open at once.
You can't open a child directory whilst iterating a directory. We should support that because otherwise you have to cache all the child names and then do an expensive directory walk to find them again.
If we were smart we'd let you trade one directory handle for another and use
..to pop back, so we only have one directory open at once.