Skip to main content

Module util

Module util 

Source
Expand description

Shared utilities for RCH.

Functionsยง

mask_sensitive_command
Mask sensitive patterns in a command string before logging.
truncate_at_char_boundary
Truncate a string to at most max_bytes bytes, snapping back to the nearest UTF-8 character boundary.