Skip to main content

run

Function run 

Source
pub fn run(
    context: &mut Context,
    input: &mut impl Read,
    output: &mut impl Write,
) -> Result<()>
Expand description

Runs the protocol to completion on the given streams.

ยงErrors

Error::Io or Error::Format when the handshake itself fails. A failure on a single file is reported to git as status=error instead, which with required = true aborts the operation.