Module util
Expand description
Utility functions for ZeroClaw.
This module contains reusable helper functions used across the codebase.
Enums§
- Maybe
Set - Utility enum for handling optional values.
Functions§
- is_
serial_ path_ allowed - Returns true if the path is an allowed serial device (USB CDC, FTDI, etc.). Rejects arbitrary paths like /etc/passwd or /dev/sda.
- release_
freed_ heap - truncate_
field - truncate_
json_ leaves - truncate_
with_ ellipsis