umask

package
v0.62.1 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check()

func MkdirAllIgnoreUmask

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

MkdirAllIgnoreUmask creates a directory by ignoring the currently set umask.

func Set

func Set(value int) int

func WriteFileIgnoreUmask

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