-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Improve Storage part 2 #2849
Improve Storage part 2 #2849
Conversation
could possibly optimize out memcpy, but that is for later.
Further improve file name
Automated fixes for code style.
…580c-196b-48c8-9817-cca5540acfc8 Code style fixes for nanoframework/nf-interpreter PR#2849
Correct char number
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.
I have no problem with the rename to move away from Windows to Persistent.
Now about the defines for the drives name: that's another story.
These were using Index0...1 etc on purpose as those are the order they show when enumerated by FATFS.
Hard coding this to (for example) USB_DRIVE_LETTER
is assuming that there will be an USB MSD on the system and that it will be at INDEX 1, which may not be the case. There can be an SD Card drive at INDEX 0. Or not...
Any renaming seen necessary here should follow an agnostic naming pattern.
My concept towards inprovements here are this: Personally (as a developer) I (think) I would prefer a (say) 3 letter drive name that relates to the drive (like linux) rather than a 1 letter name that is based on DOS. I note that this needs us to deprecate (rather than remove). But, would add that some of the changes in this PR are helpful and optimize code. Just need split them. |
Automated fixes for code style.
…3d99-1b61-4b86-b7ec-cf78dfdbc883 Code style fixes for nanoframework/nf-interpreter PR#2849
@josesimoes hopefully the changes should go some way towards your comments. Let me know what else. |
Unfortunatly, I missed the fact that |
Can be used as future reference.
Automated fixes for code style.
…1c5c-6115-4d92-994d-6898cbf8f3e1 Code style fixes for nanoframework/nf-interpreter PR#2849
Closing as obsolete. A new PR can be created later if needed. |
Warning Rate limit exceeded@nfbot has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 22 minutes and 10 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
Description
Each change is kept seperate incase of individual merge.
Motivation and Context
Code Maintainability.
How Has This Been Tested?
Screenshots
Types of changes
Checklist