You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Directory's method countItems() gives correct number of entries, but getFirst(String entry) and getNext(String entry) will give more results as the first two entries returned are "." and "..".
So if using getNext() in a loop will result in more iterations than simply looping with the countItems() method. I only tested the functionality under Windows with VS 15 - so I don't know for Linux.
The text was updated successfully, but these errors were encountered:
Same on macOS. Needs rewrite, we anyway should move to boost filesystem.
Furthermore, I have the impression that most of the functionality in the directory class is not used.
Directory's method countItems() gives correct number of entries, but getFirst(String entry) and getNext(String entry) will give more results as the first two entries returned are "." and "..".
So if using getNext() in a loop will result in more iterations than simply looping with the countItems() method. I only tested the functionality under Windows with VS 15 - so I don't know for Linux.
The text was updated successfully, but these errors were encountered: