Struct git_protocol::fetch::response::Response [−][src]
pub struct Response { /* fields omitted */ }
Expand description
A representation of a complete fetch response
Implementations
pub fn from_line_reader(
version: Protocol,
reader: &mut impl ExtendedBufRead
) -> Result<Response, Error>
pub fn from_line_reader(
version: Protocol,
reader: &mut impl ExtendedBufRead
) -> Result<Response, Error>
Parse a response of the given version
of the protocol from reader
.
Return an error if the given features
don’t contain the required ones for the given version
of the protocol.
Even though technically any set of features supported by the server could work, we only implement the ones that make it easy to maintain all versions with a single code base that aims to be and remain maintainable.
Return all acknowledgements parsed previously.
Return all shallow update lines parsed previously.
Return all wanted-refs parsed previously.