github.com/fawick/restic@v0.1.1-0.20171126184616-c02923fbfc79/internal/backend/local/local_windows.go (about) 1 package local 2 3 import ( 4 "os" 5 ) 6 7 // We don't modify read-only on windows, 8 // since it will make us unable to delete the file, 9 // and this isn't common practice on this platform. 10 func setNewFileMode(f string, mode os.FileMode) error { 11 return nil 12 }