Skip to main content

Module names

Module names 

Source

Functionsยง

canonical_tool_name
Use direct tool name without alias resolution. Alias resolution is now handled by the tool registry inventory which maintains a mapping of aliases to canonical tool names.
is_apply_patch_shell_collision_command
Returns true when a full shell command line tries to run the apply_patch tool as a shell binary (e.g. apply_patch, or /usr/bin/applypatch --help). Only the first token is considered, so sudo apply_patch is not a collision.