(value: &OsStr)
| 5370 | |
| 5371 | #[cfg(unix)] |
| 5372 | fn os_str_bytes(value: &OsStr) -> Vec<u8> { |
| 5373 | use std::os::unix::ffi::OsStrExt; |
| 5374 | value.as_bytes().to_vec() |
| 5375 | } |
| 5376 | |
| 5377 | #[cfg(windows)] |
| 5378 | fn os_str_bytes(value: &OsStr) -> Vec<u8> { |
no test coverage detected