Replace backslashes with forward slashes so paths work in JSON/shell contexts on Windows. No-op on Unix where paths already use `/`.
(path: &str)
| 802 | /// Replace backslashes with forward slashes so paths work in JSON/shell |
| 803 | /// contexts on Windows. No-op on Unix where paths already use `/`. |
| 804 | fn normalize_path_separators(path: &str) -> String { |
| 805 | path.replace('\\', "/") |
| 806 | } |
| 807 | |
| 808 | #[macro_export] |
| 809 | macro_rules! cli_fallback_args_invocation_lit { |
no outgoing calls
no test coverage detected