SetupCheck class final
A setup recommendation reported by patchwork doctor --setup.
Setup checks are read-only diagnostics. They describe repository configuration around ignored generated state, committed patch files, optional hooks, and CI command choices without creating any Patchwork state.
Constructors
- SetupCheck({required String code, required SetupCheckLevel level, required String message, String? hint, String? path})
-
Creates a setup check result.
const
Properties
- code → String
-
A stable identifier for the setup check.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hint → String?
-
Optional concrete remediation guidance.
final
- level → SetupCheckLevel
-
Whether this check passed, warns, or only provides optional guidance.
final
- message → String
-
Human-readable setup status.
final
- path → String?
-
Optional file or directory path related to this check.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited