refactor(services/gdrive): split gdrive into separate crate#7039
Merged
Xuanwo merged 3 commits intoapache:mainfrom Dec 19, 2025
Merged
refactor(services/gdrive): split gdrive into separate crate#7039Xuanwo merged 3 commits intoapache:mainfrom
Xuanwo merged 3 commits intoapache:mainfrom
Conversation
Xuanwo
reviewed
Dec 17, 2025
| format!("path not found: {path}"), | ||
| ))?; | ||
|
|
||
| // The file metadata in the Google Drive API is very complex. |
Member
There was a problem hiding this comment.
Please don't remove the code comments.
core/services/gdrive/src/core.rs
Outdated
| } | ||
| } | ||
|
|
||
|
|
4 tasks
This PR splits the gdrive service into its own crate `opendal-service-gdrive`. - Create new crate at `core/services/gdrive` - Update feature flag to use the new crate - Remove gdrive from `opendal-core` - Re-export from facade crate Closes apache#6896
2dddf35 to
049c2e5
Compare
Restore all code comments that were accidentally removed during the service split refactoring, as requested by reviewer.
Update the example code in docs.md to use opendal_core and opendal_service_gdrive instead of opendal, and add tokio as dev-dependency for doc tests.
Xuanwo
approved these changes
Dec 19, 2025
Member
Xuanwo
left a comment
There was a problem hiding this comment.
Thank you @tao12345666333 for working on this!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR splits the gdrive service into its own crate
opendal-service-gdrive.core/services/gdriveopendal-coreCloses #6896
AI Usage Statement
Claude Code + Claude 4.5 Opus