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_bytesbytes, snapping back to the nearest UTF-8 character boundary.