MCPcopy
hub / github.com/keploy/keploy / SetUmask

Function SetUmask

utils/mask_others.go:7–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5import "syscall"
6
7func SetUmask() int {
8 return syscall.Umask(0)
9}
10
11func RestoreUmask(oldMask int) {
12 syscall.Umask(oldMask)

Callers 1

startFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected