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

Function github_u64

crates/opencode-cli/src/main.rs:4676–4682  ·  view source on GitHub ↗
(payload: &serde_json::Value, path: &[&str])

Source from the content-addressed store, hash-verified

4674}
4675
4676fn github_u64(payload: &serde_json::Value, path: &[&str]) -> Option<u64> {
4677 let mut cursor = payload;
4678 for key in path {
4679 cursor = cursor.get(*key)?;
4680 }
4681 cursor.as_u64()
4682}
4683
4684fn gh_api_json(
4685 method: &str,

Callers 2

github_issue_numberFunction · 0.85
handle_github_commandFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected