writeopen

package
v0.0.22 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSymlinkWriteTarget = errors.New("symlinks are not supported as write targets")

ErrSymlinkWriteTarget reports a symlink in a write target. Writes reject symlinks rather than following them so the target cannot change between resolution and open.

Functions

func CloseRoot

func CloseRoot(file *os.File)

func OpenFile

func OpenFile(rootFile *os.File, _ *os.Root, relPath string, flag int, perm os.FileMode) (*os.File, error)

func OpenRoot

func OpenRoot(root *os.Root) (*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