mirror of
https://github.com/restic/restic.git
synced 2025-10-09 15:30:24 +00:00

committed by
Michael Eischer

parent
59a90943bb
commit
348e966daa
@@ -7,6 +7,9 @@ import (
|
||||
// Can't explicitly flush directory changes on Windows.
|
||||
func fsyncDir(dir string) error { return nil }
|
||||
|
||||
// Windows is not macOS.
|
||||
func isMacENOTTY(err error) bool { return false }
|
||||
|
||||
// We don't modify read-only on windows,
|
||||
// since it will make us unable to delete the file,
|
||||
// and this isn't common practice on this platform.
|
||||
|
Reference in New Issue
Block a user