Skip to main content

normalize_tool

Function normalize_tool 

Source
pub fn normalize_tool(vendor: &str, caller: &CallerKind) -> String
Expand description

Normalize a vendor-specific tool name to the canonical polyhook tool name.

The lookup is case-insensitive. If no mapping exists the original name is returned unchanged.