MCPcopy
hub / github.com/git-lfs/git-lfs / run

Method run

tq/transfer_queue.go:1023–1028  ·  view source on GitHub ↗

run begins the transfer queue. It transfers files sequentially or concurrently depending on the Config.ConcurrentTransfers() value.

()

Source from the content-addressed store, hash-verified

1021// run begins the transfer queue. It transfers files sequentially or
1022// concurrently depending on the Config.ConcurrentTransfers() value.
1023func (q *TransferQueue) run() {
1024 tracerx.Printf("tq: running as batched queue, batch size of %d", q.batchSize)
1025
1026 go q.errorCollector()
1027 go q.collectBatches()
1028}
1029
1030// canRetry returns whether or not the given error "err" is retriable.
1031func (q *TransferQueue) canRetry(err error) bool {

Callers 1

NewTransferQueueFunction · 0.95

Calls 2

errorCollectorMethod · 0.95
collectBatchesMethod · 0.95

Tested by

no test coverage detected