Module redact

Module redact 

Source
Expand description

Redact data that varies by system and OS to produce a stable output.

Used for snapshot testing.

Structs§

DisplayTimestamp
Wrapper for timestamps that formats with %Y-%m-%d %H:%M:%S.
Redactor
A helper for redacting data that varies by environment.
RedactorBuilder
A builder for Redactor instances.
SizeDisplay
Wrapper for sizes that formats bytes as a human-readable string (B, KB, or MB).
StoreDurationDisplay
Wrapper for store durations that formats as {:>9.3}s or {:>10} for “-”.

Enums§

RedactorOutput
The output of a Redactor operation.