Skip to main content

get_cached_github_json

Function get_cached_github_json 

Source
pub async fn get_cached_github_json<T: DeserializeOwned>(
    ctx: &Ctx,
    url: &str,
) -> Result<T>
Expand description

GitHub API variant of get_cached_json, preserving GitHub headers and token handling while adding stale/offline cache behavior.