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

Method canRetryLater

tq/transfer_queue.go:1037–1039  ·  view source on GitHub ↗

canRetryLater returns the number of seconds until an error can be retried and if the error is a delayed-retriable error.

(err error)

Source from the content-addressed store, hash-verified

1035// canRetryLater returns the number of seconds until an error can be retried and if the error
1036// is a delayed-retriable error.
1037func (q *TransferQueue) canRetryLater(err error) (time.Time, bool) {
1038 return errors.IsRetriableLaterError(err)
1039}
1040
1041// canRetryObject returns whether the given error is retriable for the object
1042// given by "oid". If the an OID has met its retry limit, then it will not be

Callers 1

canRetryObjectLaterMethod · 0.95

Calls 1

IsRetriableLaterErrorFunction · 0.92

Tested by

no test coverage detected