amunra commented on issue #6805:
URL: https://github.com/apache/opendal/issues/6805#issuecomment-3553971399

   Honestly the best possible change here at this stsge is clear documentation.
   
   If the docs say what to filter out authoritatively (I assume this is `if 
entry.path() == path { continue; }`, it's probably good enough.
   
   Longer term a better API would be one that returns None if the path does not 
exist, and an empty iterator if the path exists, but has no children. This is 
how I will wrap things up within my own code. 
   
   A layer would just add complexity for no reason. 


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