Skip to main content

Module pure

Module pure 

Source
Expand description

Small authority-free primitives shared by native and portable runtimes.

These functions are the semantic implementation beneath runtime adapters; they do not expose VM values, host handles, or target-specific state.

Structs§

CompiledSecretPattern
One catalog entry paired with its process-wide compiled matcher.
RegexCapture
SecretFinding

Constants§

MAX_REGEX_PATTERN_BYTES

Functions§

compiled_secret_patterns
The shared catalog, compiled on first use.
ends_with_text
hex_decode_text
hex_encode
join_path_segments
Join host-supplied path segments into Harn’s target-independent / form. Absolute POSIX, UNC, or drive-rooted segments reset the accumulated path, matching PathBuf::push without making artifact behavior depend on the machine that compiled the kernel.
regex_captures
regex_matches
regex_replace
regex_split
replace_text
scan_secrets
secret_patterns_compiled
Whether the catalog has already been compiled. Hosts that warm it eagerly during startup assert against this so the cost cannot silently move back onto a deep call stack.
sha256_hex
starts_with_text
trim_text