github.com/mckael/restic@v0.8.3/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  }