pub fn new(gh: InnerGh) -> Self {
        let gh = Box::leak(Box::new(gh));
        let data = GhData { pulls: pulls(gh) };

        Self {
            data: Arc::new(data),
        }
    }
/// Creates a new GitHub client for usage with nixpkgs.
///
/// Note: Since this function uses `Box::leak`, you should only call it once.
Creates a new GitHub client for usage with nixpkgs.
Note: Since this function uses `Box::leak`, you should only call it once.
Creates a new GitHub client for usage with nixpkgs . Note : Since this function uses ` Box :: leak ` you should only call it once .
pub fn new(gh: InnerGh) -> Self {
        let gh = Box::leak(Box::new(gh));
        let data = GhData { pulls: pulls(gh) };
        Self {
            data: Arc::new(data),
        }
    }
pub fn new ( gh : InnerGh ) -> Self { let gh = Box :: leak ( Box :: new ( gh ) ) ; let data = GhData { pulls : pulls ( gh ) } ; Self { data : Arc :: new ( data ) , } }
Creates a new GitHub client for usage with nixpkgs.
Creates a new GitHub client for usage with nixpkgs .
gh
InnerGh
gh
InnerGh