Commit 3bf8099
doctor: refactor OpenCode asset constants and problem discriminants
Consolidate OpenCode asset directory constants into opencode_asset module,
introduce typed ProblemKind discriminant to replace fragile summary-based
checks, cache repeated PathBuf computations, and extract shared label constants.
Co-authored-by: SCE <sce@crocoder.dev>1 parent 85a2e92 commit 3bf8099
2 files changed
Lines changed: 105 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
188 | 190 | | |
189 | 191 | | |
190 | 192 | | |
| |||
0 commit comments