pathsafety

package
v0.0.0-...-cb3abbe Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2026 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSymlink     = errors.New("path safety: symlink refused")
	ErrUnsupported = errors.New("path safety: atomic no-follow open unsupported")
)

Functions

func IsSymlink(err error) bool

func OpenNoFollowRead

func OpenNoFollowRead(path string) (*os.File, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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