MCPcopy Create free account
hub / github.com/libgit2/git2go / newTransferProgressFromC

Function newTransferProgressFromC

remote.go:50–58  ·  view source on GitHub ↗
(c *C.git_transfer_progress)

Source from the content-addressed store, hash-verified

48}
49
50func newTransferProgressFromC(c *C.git_transfer_progress) TransferProgress {
51 return TransferProgress{
52 TotalObjects: uint(c.total_objects),
53 IndexedObjects: uint(c.indexed_objects),
54 ReceivedObjects: uint(c.received_objects),
55 LocalObjects: uint(c.local_objects),
56 TotalDeltas: uint(c.total_deltas),
57 ReceivedBytes: uint(c.received_bytes)}
58}
59
60type RemoteCompletion uint
61type ConnectDirection uint

Callers 1

transferProgressCallbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…