morgante commented on issue #4253:
URL: https://github.com/apache/opendal/issues/4253#issuecomment-2030417836

   > @morgante I sovled first problem, but git trees api need treeSha to fetch 
trees, if we want to get a sub director, we must fetch root first, This may not 
increase the speed, I have not figured out how to solve it.
   
   It looks like the repo contents API returns a sha. So you could do this:
   
   - Initial request: `GET /repos/{owner}/{repo}/contents/{path}`
   - If any subdirs are returned in the response, call the tree API with 
`recursive=true` to grab them.


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