mirror of
https://github.com/octoleo/restic.git
synced 2024-11-01 03:12:31 +00:00
16 lines
353 B
Go
16 lines
353 B
Go
package local
|
|
|
|
import (
|
|
"os"
|
|
)
|
|
|
|
// Can't explicitly flush directory changes on Windows.
|
|
func fsyncDir(dir string) error { return nil }
|
|
|
|
// 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.
|
|
func setFileReadonly(f string, mode os.FileMode) error {
|
|
return nil
|
|
}
|