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