github.com/advanderveer/restic@v0.8.1-0.20171209104529-42a8c19aaea6/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 }