github.com/StackExchange/blackbox/v2@v2.0.1-0.20220331193400-d84e904973ab/pkg/bbutil/umask_windows.go (about)

     1  // +build windows
     2  
     3  package bbutil
     4  
     5  // Umask is a no-op on Windows, and calls syscall.Umask on all other
     6  // systems. On Windows it returns 0, which is a decoy.
     7  func Umask(mask int) int {
     8  	return 0o000
     9  }