perms

package
v44.22.1 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadPrivateFile

func ReadPrivateFile(filename string) ([]byte, error)

Read a file, first verifying that it can only be read by the current user.

func WritePrivateFile

func WritePrivateFile(filename string, content []byte) error

Make a private file that is only readable by the current user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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