(path string)
| 445 | } |
| 446 | |
| 447 | func isCommandBoundaryScope(path string) bool { |
| 448 | path = filepath.ToSlash(path) |
| 449 | return (strings.HasPrefix(path, "cmd/") || strings.HasPrefix(path, "shortcuts/")) && |
| 450 | strings.HasSuffix(path, ".go") && |
| 451 | !strings.HasSuffix(path, "_test.go") |
| 452 | } |
| 453 | |
| 454 | func ParseLegacyCommandErrorAllowlist(raw string) LegacyCommandErrorAllowlist { |
| 455 | allow, _ := ParseLegacyCommandErrorAllowlistWithDiagnostics(raw, "") |
no outgoing calls
no test coverage detected