Expand description

An abstraction over fetching a pack from the server.

This implementation hides the transport layer, statefulness and the protocol version to the fetch delegate, the actual client implementation.


pub use git_transport as transport;



The information usually found in remote progress messages as sent by a git server during fetch, clone and push operations.


A way to indicate how to treat the connection underlying the transport, potentially allowing to reuse it.


Perform a ‘fetch’ operation with the server using transport, with delegate handling all server interactions. Note that delegate has blocking operations and thus this entire call should be on an executor which can handle that. This could be the current thread blocking, or another thread.