MCPcopy Index your code
hub / github.com/git-lfs/git-lfs / canRetryObjectLater

Method canRetryObjectLater

tq/transfer_queue.go:1054–1061  ·  view source on GitHub ↗
(oid string, err error)

Source from the content-addressed store, hash-verified

1052}
1053
1054func (q *TransferQueue) canRetryObjectLater(oid string, err error) (time.Time, bool) {
1055 if count, ok := q.rc.CanRetry(oid); !ok {
1056 tracerx.Printf("tq: refusing to retry %q, too many retries (%d)", oid, count)
1057 return time.Time{}, false
1058 }
1059
1060 return q.canRetryLater(err)
1061}
1062
1063// Errors returns any errors encountered during transfer.
1064func (q *TransferQueue) Errors() []error {

Callers 2

handleTransferResultMethod · 0.95

Calls 2

canRetryLaterMethod · 0.95
CanRetryMethod · 0.80

Tested by

no test coverage detected