MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / github_api

Function github_api

crates/openshell-prover/src/credentials.rs:382–391  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

380 }
381
382 fn github_api() -> ApiCapability {
383 ApiCapability {
384 api: "github".to_string(),
385 host: "api.github.com".to_string(),
386 port: 443,
387 credential_type: "github-pat".to_string(),
388 scope_capabilities: HashMap::new(),
389 action_risk: HashMap::new(),
390 }
391 }
392
393 #[test]
394 fn host_patterns_overlap_matches_exact_case_and_trailing_dot() {

Calls

no outgoing calls