Expand description
Redact data that varies by system and OS to produce a stable output.
Used for snapshot testing.
Structs§
- Display
Timestamp - Wrapper for timestamps that formats with
%Y-%m-%d %H:%M:%S. - Redactor
- A helper for redacting data that varies by environment.
- Redactor
Builder - A builder for
Redactorinstances. - Size
Display - Wrapper for sizes that formats bytes as a human-readable string (B, KB, or MB).
- Store
Duration Display - Wrapper for store durations that formats as
{:>9.3}sor{:>10}for “-”.
Enums§
- Redactor
Output - The output of a
Redactoroperation.