github.com/saymoon/flop@v0.1.6-0.20201205092451-00912199cc96/permwin.go (about)

     1  // +build windows
     2  
     3  package flop
     4  
     5  import (
     6  	"os"
     7  )
     8  
     9  // setPermissions on Windows systems is a noop.  This will need to be handled by the client.
    10  func setPermissions(dstFile *File, srcMode os.FileMode, opts Options) error {
    11  	opts.logDebug("permission handling is ignored on Windows, dst file %s will be unchanged", dstFile.Path)
    12  	return nil
    13  }