Skip to content

[BUG] [FR] Refactor device scanning logic and switch to PathBuf #7

@Flamitsu

Description

@Flamitsu

Is your feature request related to a problem? Please describe.
The main problem now is with the 'exists' function.
Currently, 'exists' function and scanning logic rely on &str and Option<&str>. This is incorrect. Because it may cause errors with ownership. Using UTF-8 for filesystem routes in Rust is not idiomatic.

Describe the solution you'd like
Refactor of the exists() feature. Implementation of PathBuf to the scanning function

Describe alternatives you've considered
Stick with inconsistent logic and &str

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions