git-lfs/config/util_windows.go
Dennis Ameling d7a3a090df Update formatting for Go 1.17
From the 1.17 release notes (https://golang.org/doc/go1.17#gofmt): gofmt (and go fmt) now synchronizes //go:build lines with // +build lines.

More info about this change can be found at https://golang.org/design/draft-gobuild
2021-08-17 20:24:58 +02:00

11 lines
229 B
Go

//go:build windows
// +build windows
package config
// Windows doesn't provide the umask syscall, so return something sane as a
// default. os.Chmod will only care about the owner bits anyway.
func umask() int {
return 077
}