FileSystemEnumerable ordering #121688
Unanswered
richard-fine
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
The current implementation uses BFS to search directory. However, the API owners may not want to make a strong guarantee in the future. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Does
System.IO.Enumeration.FileSystemEnumerable<TResult>make any guarantees about ordering of items?I imagine the order might not be fully specified in order to permit e.g. parallelization, BFS vs DFS on different filesystems, etc - but even limited claims could be helpful. For example, are directories guaranteed to be enumerated prior to children of those directories?
Beta Was this translation helpful? Give feedback.
All reactions