Skip to main content

check_profile_with_config

Function check_profile_with_config 

Source
pub fn check_profile_with_config(
    expr: &str,
    config: &ProfileConfig,
) -> Vec<String>
Available on crate feature expression only.
Expand description

Scan an expression for restricted function calls.

The scanner skips string literals to avoid false positives on function names that appear inside quoted values.

Returns a list of error strings (empty if compliant).