mirror of
https://github.com/rclone/rclone.git
synced 2025-10-06 05:47:10 +02:00
This now compiles but the link doesn't work because of https://github.com/golang/go/issues/64856
22 lines
325 B
Go
22 lines
325 B
Go
//go:build !plan9 && !wasm
|
|
|
|
package fserrors
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func init() {
|
|
retriableErrors = append(retriableErrors,
|
|
syscall.EPIPE,
|
|
syscall.ETIMEDOUT,
|
|
syscall.ECONNREFUSED,
|
|
syscall.EHOSTDOWN,
|
|
syscall.EHOSTUNREACH,
|
|
syscall.ECONNABORTED,
|
|
syscall.EAGAIN,
|
|
syscall.EWOULDBLOCK,
|
|
syscall.ECONNRESET,
|
|
)
|
|
}
|