You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "oowl (via GitHub)" <gi...@apache.org> on 2023/07/04 03:42:37 UTC
[GitHub] [incubator-opendal] oowl commented on a diff in pull request #2588: feat(service): Support stat for Dropbox
oowl commented on code in PR #2588:
URL: https://github.com/apache/incubator-opendal/pull/2588#discussion_r1251443014
##########
core/src/services/dropbox/core.rs:
##########
@@ -111,6 +111,23 @@ impl DropboxCore {
self.client.send(request).await
}
+ pub async fn dropbox_get_stat(&self, path: &str) -> Result<Response<IncomingAsyncBody>> {
+ let url = "https://api.dropboxapi.com/2/files/get_metadata".to_string();
Review Comment:
Maybe we need to use const define `DROPBOX_METADATA_URL`?
--
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: commits-unsubscribe@opendal.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org