-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[rust] Replace fs::rename by file::move_file for Grid artifacts #16911
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
|||||||||||||||||||||||||
cgoldberg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
User description
💥 What does this PR do?
This PR replace the use
fs::renamebyfile::move_filefor Grid artifacts, since rename isn't allowed across filesystems.🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes
PR Type
Bug fix
Description
Replace
fs::renamewithfile::move_filefor Grid artifactsEnables cross-filesystem driver file movement in Grid environments
Adds
fs_extracrate dependency for improved file operationsDiagram Walkthrough
File Walkthrough
lib.rs
Replace fs::rename with file::move_file for Gridrust/src/lib.rs
fs_extra::filemodule andCopyOptionsfs::renamecall withfile::move_filefor Grid driverartifacts
CopyOptions::new()to configure the move operation