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

Method canRetry

tq/transfer_queue.go:1031–1033  ·  view source on GitHub ↗

canRetry returns whether or not the given error "err" is retriable.

(err error)

Source from the content-addressed store, hash-verified

1029
1030// canRetry returns whether or not the given error "err" is retriable.
1031func (q *TransferQueue) canRetry(err error) bool {
1032 return errors.IsRetriableError(err)
1033}
1034
1035// canRetryLater returns the number of seconds until an error can be retried and if the error
1036// is a delayed-retriable error.

Callers 1

canRetryObjectMethod · 0.95

Calls 1

IsRetriableErrorFunction · 0.92

Tested by

no test coverage detected