(&self)
| 244 | } |
| 245 | |
| 246 | pub fn to_string_lossy(&self) -> alloc::borrow::Cow<'_, str> { |
| 247 | self.path.to_string_lossy() |
| 248 | } |
| 249 | |
| 250 | pub fn into_cstring(self, vm: &VirtualMachine) -> PyResult<alloc::ffi::CString> { |
| 251 | alloc::ffi::CString::new(self.into_bytes()).map_err(|err| err.to_pyexception(vm)) |
no outgoing calls
no test coverage detected