pub(crate) unsafe fn validate_socket_path(
    socket_path: *const c_char
) -> Option<PathBuf>
Expand description

§Safety

This function is safe when the caller ensures the socket_path raw pointer can be safely passed to CStr::from_ptr().