privacy

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PrivateDirMode  os.FileMode = 0o700
	PrivateFileMode os.FileMode = 0o600
)

Variables

This section is empty.

Functions

func EnsurePrivateDir

func EnsurePrivateDir(path string) error

func EnsurePrivateFile

func EnsurePrivateFile(path string) error

func HardenDirIfExists

func HardenDirIfExists(path string) error

func HardenFileIfExists

func HardenFileIfExists(path string) error

func HardenSQLiteFiles

func HardenSQLiteFiles(dbPath string) error

func HardenTreeIfExists

func HardenTreeIfExists(root string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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