Module diagnostics

Module diagnostics 

Source

Structs§

CheckId
Identifies a single step
DiagCtxInner 🔒
FinishedCheck
RunningCheck
Represents a single tidy check, identified by its name, running.
TidyCtx
Collects diagnostics from all tidy steps, and contains shared information that determines how should message and logs be presented.
TidyFlags
CLI flags used by tidy.

Constants§

COLOR_ERROR
COLOR_SUCCESS
COLOR_WARNING

Functions§

output_message
Output a message to stderr. The message can be optionally scoped to a certain check, and it can also have a certain color.