mirror of
https://github.com/restic/rest-server.git
synced 2025-12-06 17:15:45 -08:00
This ignores several different combinations of errnos which are returned if the storage destination is not able to fsync correctly. See also https://github.com/restic/restic/pull/4021
5 lines
89 B
Go
5 lines
89 B
Go
package repo
|
|
|
|
// Windows is not macOS.
|
|
func isMacENOTTY(err error) bool { return false }
|