Expand description
Credential and path redaction for diagnostic bundles.
Redactor compiles all patterns once at construction time and applies them
in redact_text / redact_path. The trace_id field on AppError::Internal
is intentionally NOT redacted — it is the link between a user-visible error
and the corresponding log lines.
Structs§
- Redactor
- Compiled redaction patterns.
Enums§
- Redaction
Level - Controls how aggressively account IDs are redacted.
Functions§
- dirs_
home 🔒 - Return the current user’s home directory as a string, without a trailing
slash. Returns
Nonewhen the home directory cannot be determined.