github.com/DaoCloud/dao@v0.0.0-20161212064103-c3dbfd13ee36/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  }