'In what order 'List Directories and Files' returns data?
Azure FileREST API has this command: List Directories and Files. It's documentation says:
Files and directories are listed intermingled in lexically sorted order in the response body.
Note that if directory is big enough -- you need multiple calls to list everything.
Can I assume it means data is "lexicographically ordered across all such calls"?
Can I assume ordering
happens in context of bytes of utf-8
encoded sequence? (i.e. not Unicode code points, or some other encoding) I.e. basically I can take two utf-8 encoded sequences and use memcmp()
to compare them and I am guaranteed to get the same result (as Azure Files)?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|