Skip to main content

respond_file_published

Function respond_file_published 

Source
pub fn respond_file_published<R: Repository>(
    socket: &impl AsFd,
    encoder: &mut FilePublishedResponse<'_, R>,
    staging: &mut [u8],
) -> Result<()>
Expand description

Send a previously verified on-disk publication, with independent file reads and response-local cancellation on any provider or socket error.