2024-09-25 16:21:34 +08:00
|
|
|
//go:build windows
|
2020-11-18 10:42:08 -05:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
|
|
package bbutil
|
|
|
|
|
|
|
|
|
|
// Umask is a no-op on Windows, and calls syscall.Umask on all other
|
|
|
|
|
// systems. On Windows it returns 0, which is a decoy.
|
|
|
|
|
func Umask(mask int) int {
|
|
|
|
|
return 0o000
|
|
|
|
|
}
|