Crate git_protocol[−][src]
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.
Re-exports
pub use git_transport as transport;
Modules
Structs
The information usually found in remote progress messages as sent by a git server during fetch, clone and push operations.
Enums
A way to indicate how to treat the connection underlying the transport, potentially allowing to reuse it.
Functions
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.