☰
Debian Codegraph
@
3.8.0-1
/
/
config
/
util_nix.go
☽
☼
config/util_nix.go
code
plain
raw
symbols
SCIP
Expat
2013-2018 GitHub, Inc. and Git LFS contributors
debian/copyright
1
//go:build !windows
2
// +build !windows
3
4
package
config
5
6
import "
syscall
"
7
8
func
umask
() int {
9
// umask(2), which this function wraps, also sets the umask, so set it
10
// back.
11
umask
:=
syscall
.
Umask
(022)
12
syscall
.
Umask
(
umask
)
13
return
umask
14
}