file

package
v1.4.10 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MPL-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WriteAtomicWithPerms

func WriteAtomicWithPerms(path string, contents []byte, dirPerms, filePerms os.FileMode) error

WriteAtomicWithPerms creates a temp file with specific permissions and then renames and moves it to the path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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