github.com/zhuohuang-hust/src-cbuild@v0.0.0-20230105071821-c7aab3e7c840/pkg/system/umask_windows.go (about)

     1  // +build windows
     2  
     3  package system
     4  
     5  // Umask is not supported on the windows platform.
     6  func Umask(newmask int) (oldmask int, err error) {
     7  	// should not be called on cli code path
     8  	return 0, ErrNotSupportedPlatform
     9  }