pub fn reference(
format: ObjectFormat,
id: Option<ObjectId>,
name: &[u8],
first: bool,
head: Option<&[u8]>,
features: Features,
output: &mut impl Write,
) -> Result<(), Error>Expand description
v0/v1 ref projection. The host supplies a stable sorted projection, HEAD
first when resolved; first carries capabilities once. None is the empty
repository carrier. Symbolic HEAD targets are raw validated ref bytes.