MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / github_is_comment_event

Function github_is_comment_event

crates/opencode-cli/src/main.rs:4160–4162  ·  view source on GitHub ↗
(event_name: &str)

Source from the content-addressed store, hash-verified

4158}
4159
4160fn github_is_comment_event(event_name: &str) -> bool {
4161 matches!(event_name, "issue_comment" | "pull_request_review_comment")
4162}
4163
4164fn github_comment_type(event_name: &str) -> Option<&'static str> {
4165 match event_name {

Callers 2

handle_github_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected