Skip to main content

fetch_avatar

Function fetch_avatar 

Source
pub fn fetch_avatar(
    client: &GhClient,
    caches: &mut Caches,
    login: &str,
    size: u32,
) -> Option<String>
Expand description

Fetch a GitHub avatar (e.g. an org/owner) and return it as a data URI, caching the result by login and size.