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
This limits what paths can be removed to those paths that can be represented by a Rust String. However, depending on the system, paths could contain characters that cannot be represented by this type. Hence, the Rust OsString should be used instead to make sure any file can be rmed.
Feature Request
Summary
Currently,
rm
only supports paths that are valid Rust strings due to the use ofString
in the CLIArgs
definition:rust-rm/src/main.rs
Lines 102 to 103 in 330275d
This limits what paths can be removed to those paths that can be represented by a Rust
String
. However, depending on the system, paths could contain characters that cannot be represented by this type. Hence, the RustOsString
should be used instead to make sure any file can berm
ed.Notes
This was originally raised in #38 (comment).
The text was updated successfully, but these errors were encountered: