shouldRetry returns a boolean as to whether this err deserves to be retried. It returns the err as a convenience
(ctx context.Context, err error)
| 199 | // shouldRetry returns a boolean as to whether this err deserves to be |
| 200 | // retried. It returns the err as a convenience |
| 201 | func shouldRetry(ctx context.Context, err error) (bool, error) { |
| 202 | if fserrors.ContextError(ctx, &err) { |
| 203 | return false, err |
| 204 | } |
| 205 | // Let the mega library handle the low level retries |
| 206 | return false, err |
| 207 | } |
| 208 | |
| 209 | // readMetaDataForPath reads the metadata from the path |
| 210 | func (f *Fs) readMetaDataForPath(ctx context.Context, remote string) (info *mega.Node, err error) { |
no test coverage detected
searching dependent graphs…