hasGitHubTool checks if the GitHub tool is configured (using ParsedTools)
(parsedTools *Tools)
| 76 | |
| 77 | // hasGitHubTool checks if the GitHub tool is configured (using ParsedTools) |
| 78 | func hasGitHubTool(parsedTools *Tools) bool { |
| 79 | if parsedTools == nil { |
| 80 | return false |
| 81 | } |
| 82 | return parsedTools.GitHub != nil |
| 83 | } |
| 84 | |
| 85 | // hasGitHubApp checks if a GitHub App is configured in the (merged) GitHub tool configuration |
| 86 | func hasGitHubApp(githubTool map[string]any) bool { |
no outgoing calls
no test coverage detected