Module fetch

Source
Expand description

Modules§

negotiatefetch
A modules with primitives to perform negotiation as part of a fetch operation.
refmapfetch
response

Structs§

Arguments
The arguments passed to a server command.
Contexthandshake
For use in RefMap::new() and fetch.
NegotiateContextfetch
For use in fetch.
NegotiateOutcomefetch
The negotiation-specific outcome of fetch().
Options
Options for use in fetch()
Outcomefetch
The outcome of fetch().
RefMapfetch
Information about the relationship between our refspecs, and remote references with their local counterparts.
Response
A representation of a complete fetch response

Enums§

Error(blocking-client or async-client) and fetch
The error returned by fetch().
ProgressId
The progress ids used in during various steps of the fetch operation.
Shallow
Describe how shallow clones are handled when fetching, with variants defining how the shallow boundary is handled.
Tags
Describe how to handle tags when fetching

Traits§

Negotiatefetch
A trait to encapsulate steps to negotiate the contents of the pack.

Functions§

handshake(blocking-client or async-client) and handshake
Perform a handshake with the server on the other side of transport, with authenticate being used if authentication turns out to be required. extra_parameters are the parameters (name, optional value) to add to the handshake, each time it is performed in case authentication is required. progress is used to inform about what’s currently happening.