Skip to main content

enforce_text

Function enforce_text 

Source
pub fn enforce_text(
    text: String,
    path: Option<&Path>,
    cfg: &SensitivityConfig,
) -> Enforced
Expand description

Apply the configured floor to a text item (e.g. a tool output).

path is an optional source hint used for path-based classification. Returns Enforced::Pass verbatim when disabled or below the floor.