(tool_input: &str)
| 212 | } |
| 213 | |
| 214 | fn parse_tool_input(tool_input: &str) -> serde_json::Value { |
| 215 | serde_json::from_str(tool_input).unwrap_or_else(|_| json!({ "raw": tool_input })) |
| 216 | } |
| 217 | |
| 218 | fn format_hook_warning(command: &str, code: i32, stdout: Option<&str>, stderr: &str) -> String { |
| 219 | let mut message = |
nothing calls this directly
no outgoing calls
no test coverage detected