MCPcopy Index your code
hub / github.com/driusan/dgit / FetchPack

Function FetchPack

git/fetchpack.go:68–101  ·  view source on GitHub ↗

FetchPack fetches a packfile from rmt. It uses wants to retrieve the refnames from the remote, and haves to negotiate the missing objects. FetchPack always makes a single request and declares "done" at the end.

(c *Client, opts FetchPackOptions, rm Remote, wants []Refname)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

FetchPackFunction · 0.92
CloneFunction · 0.70
FetchFunction · 0.70

Calls 6

SetServiceMethod · 0.95
OpenConnMethod · 0.95
CloseMethod · 0.95
NewRemoteConnFunction · 0.85
fetchPackDoneFunction · 0.85
GetLocalRefsMethod · 0.80

Tested by

no test coverage detected