#![allow(clippy::all)]
pub const NSID: &str = "sh.tangled.git.temp.getHead";
#[derive(Debug, Clone, Default, serde::Serialize)]
pub struct Params {
pub repo: String,
}
pub type Output = crate::lexicon::sh::tangled::git::temp::defs::Branch;
pub fn get_head(
http: &reqwest::Client,
base: &str,
params: &Params,
) -> reqwest::RequestBuilder {
let rb = http.get(crate::xrpc::xrpc_url(base, NSID));
let rb = rb.header(reqwest::header::ACCEPT, "application/json");
let rb = crate::xrpc::push_query(rb, params);
rb
}