(raw: &str)
| 844 | } |
| 845 | |
| 846 | fn sanitize_webinspectord_socket_path(raw: &str) -> Option<&str> { |
| 847 | let path = raw.trim(); |
| 848 | if path.is_empty() || !path.ends_with(WEBINSPECTORD_SOCKET_NAME) { |
| 849 | return None; |
| 850 | } |
| 851 | Some(path) |
| 852 | } |
| 853 | |
| 854 | async fn send_forward_get_listing<W: AsyncWrite + Unpin>( |
| 855 | writer: &mut W, |
no test coverage detected