Somsubhra-Nandi commented on issue #7102:
URL: https://github.com/apache/opendal/issues/7102#issuecomment-3701548511

   @dosu Thanks for the pointers!
   
   I can reproduce the issue consistently: `list("/")` on the OneDrive service 
returns an empty result, while reading files from root works as expected.
   
   From investigation, this seems to be a root-path handling issue in the 
OneDrive backend. The OneDrive API treats root differently 
(`/me/drive/root/children`) compared to subpaths 
(`/me/drive/root:/path:/children`). Currently, the root path appears to be 
formatted like a normal directory path, which causes the API to return an empty 
list.
   
   I’m working on a fix to special-case the root directory during list 
operations and will also add a regression test to ensure `list("/")` works 
correctly.
   
   I’ll open a PR once the fix is ready.
   


-- 
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]

Reply via email to