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

Function github_footer

crates/opencode-cli/src/main.rs:4259–4269  ·  view source on GitHub ↗
(owner: &str, repo: &str)

Source from the content-addressed store, hash-verified

4257}
4258
4259fn github_footer(owner: &str, repo: &str) -> String {
4260 if let Ok(run_id) = std::env::var("GITHUB_RUN_ID") {
4261 let run_id = run_id.trim();
4262 if !run_id.is_empty() {
4263 return format!(
4264 "\n\n[github run](https://github.com/{owner}/{repo}/actions/runs/{run_id})",
4265 );
4266 }
4267 }
4268 String::new()
4269}
4270
4271fn github_action_context_lines() -> Vec<String> {
4272 vec![

Callers 1

handle_github_commandFunction · 0.85

Calls 2

newFunction · 0.85
is_emptyMethod · 0.80

Tested by

no test coverage detected