You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some functions accept a string to handle filesystem names, which can lead to error prone behavior.
The signature of the function should be more specific in order to handle only filesystem type of arguments. In this case PathBuf could help to handle those scenarios.
The text was updated successfully, but these errors were encountered:
jczuluag
changed the title
Refactor fn that accept 'filename' to use PathBuf instead
Refactor fn(s) that accept 'filename' to use PathBuf instead
Mar 27, 2021
jczuluag
changed the title
Refactor fn(s) that accept 'filename' to use PathBuf instead
Refactor fn(s) that accept 'filename' as str to use PathBuf instead
Mar 27, 2021
Some functions accept a string to handle filesystem names, which can lead to error prone behavior.
The signature of the function should be more specific in order to handle only filesystem type of arguments. In this case
PathBuf
could help to handle those scenarios.The text was updated successfully, but these errors were encountered: