Skip to content

Refactoring#1

Open
Apostoln wants to merge 3 commits intomasterfrom
refactoring
Open

Refactoring#1
Apostoln wants to merge 3 commits intomasterfrom
refactoring

Conversation

@Apostoln
Copy link
Owner

No description provided.

 - Replace &Path with impl AsRef<Path>
 - Add lazy versions of public functions where it's possible
 - Remove unnesessary temporary allocations
 - Remove unnesessary cloning
 - Refactor code
 - Fix clippy warnings
 - Cargo fmt
 - Deduplicate getting disks or partitions
 - Avoid code duplication in get_parent_devpath_from_path
 - Add constructor for Device from udev::Device and more lazy versions
 - Fix clippy warnings
 - Cargo fmt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant