Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Directory::read_entry_boxed plus common abstraction make_boxed #559

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

Merged
phip1611 merged 5 commits into rust-osdev:main from phip1611:dir-info-boxed
Nov 24, 2022

Conversation

Copy link
Member

@phip1611 phip1611 commented Nov 12, 2022
edited
Loading

This adds a function to Directory to get directory entry information as boxed/owned values. This is done similar to File::get_boxed_info [commit1]. Unfortunately, the code is almost identical. I tried to create a new commonly shared abstraction [commit2]. However, it is not that easy to let it compile successfully. I'm seeking for advice.

Checklist

  • Sensible git history (for example, squash "typo" or "fix" commits). See the Rewriting History guide for help.
  • Update the changelog (if necessary)

GabrielMajeri reacted with rocket emoji
@phip1611 phip1611 changed the title (削除) Directory::read_entry_boxed plus common abstraction for make boxed (削除ここまで) (追記) Directory::read_entry_boxed plus common abstraction make_boxed (追記ここまで) Nov 12, 2022
@phip1611 phip1611 marked this pull request as ready for review November 13, 2022 13:51
@phip1611 phip1611 self-assigned this Nov 13, 2022
Copy link
Member Author

phip1611 commented Nov 13, 2022
edited
Loading

This just left it's draft state.

Do you like the make_boxed abstraction?

@phip1611 phip1611 force-pushed the dir-info-boxed branch 3 times, most recently from 8e56867 to 4ee1c21 Compare November 14, 2022 10:00
Copy link
Member Author

phip1611 commented Nov 14, 2022
edited
Loading

I'm really looking forward to bumping the MSRV soon. Again, I had to alter my PR because of that 😀 @nicholasbishop @GabrielMajeri 7ce93f1

@phip1611 phip1611 force-pushed the dir-info-boxed branch 4 times, most recently from dfd07b3 to c6d7297 Compare November 20, 2022 18:52
@phip1611 phip1611 force-pushed the dir-info-boxed branch 2 times, most recently from b681a4a to c7a04c8 Compare November 20, 2022 19:12
Copy link
Member Author

phip1611 commented Nov 23, 2022
edited
Loading

Any update here, @nicholasbishop?

I need it for #472 by the way.

Copy link
Member

Code looks good to me. One remaining thing though, read_entry_boxed should get a changelog entry.

Copy link
Member Author

phip1611 commented Nov 24, 2022
edited
Loading

Code looks good to me. One remaining thing though, read_entry_boxed should get a changelog entry.

I updated the changelog and I take your words as approval.

nicholasbishop and GabrielMajeri reacted with thumbs up emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@nicholasbishop nicholasbishop Awaiting requested review from nicholasbishop

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /