Somsubhra-Nandi opened a new pull request, #7114:
URL: https://github.com/apache/opendal/pull/7114
This PR fixes an issue where `list("/")` on the OneDrive service returns an
empty result.
Root cause:
The OneDrive API treats the root directory differently from subpaths. The
existing implementation formatted the root path like a normal directory,
resulting in an invalid `root:/:/children` endpoint.
Fix:
Special-case the root path (`"/"`) to use `/me/drive/root/children` when
building the list request URL.
This aligns OpenDAL’s behavior with OneDrive API expectations.
Fixes #7102
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]