umask

package
v0.59.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check added in v0.29.0

func Check()

func MkdirAllIgnoreUmask added in v0.53.0

func MkdirAllIgnoreUmask(dir string, mode os.FileMode) error

MkdirAllIgnoreUmask creates a directory by ignoring the currently set umask.

func Set added in v0.29.0

func Set(value int) int

func WriteFileIgnoreUmask added in v0.53.0

func WriteFileIgnoreUmask(path string, data []byte, mode os.FileMode) error

WriteFileIgnoreUmask write the provided data to the path by ignoring the currently set umask.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL