Xuanwo commented on code in PR #5733:
URL: https://github.com/apache/opendal/pull/5733#discussion_r1988297708
##########
core/src/services/onedrive/backend.rs:
##########
@@ -16,111 +16,54 @@
// under the License.
use std::fmt::Debug;
+use std::fmt::Formatter;
use std::sync::Arc;
-use bytes::Buf;
-use bytes::Bytes;
-use http::header;
-use http::Request;
use http::Response;
use http::StatusCode;
-use super::delete::OnedriveDeleter;
+use super::core::OneDriveCore;
+use super::delete::OneDriveDeleter;
use super::error::parse_error;
-use super::graph_model::CreateDirPayload;
-use super::graph_model::ItemType;
-use super::graph_model::OneDriveUploadSessionCreationRequestBody;
-use super::graph_model::OnedriveGetItemBody;
-use super::lister::OnedriveLister;
+use super::lister::OneDriveLister;
use super::writer::OneDriveWriter;
use crate::raw::*;
use crate::*;
#[derive(Clone)]
-pub struct OnedriveBackend {
- info: Arc<AccessorInfo>,
- root: String,
- access_token: String,
- client: HttpClient,
+pub struct OneDriveBackend {
Review Comment:
The naming here needs to align with the scheme. Since our scheme is
`onedrive` instead of `one_drive`, we must use `Onedrive` instead of
`OneDrivew`.
--
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]