fsx

package
v0.0.0-...-776c8f4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPermission = errors.New("permission denied: the process does not have access to read this file")
View Source
var ErrSnapPermission = errors.New("permission denied: this binary was installed via snap which restricts filesystem access; please install using a different method (e.g. direct binary, docker, or package manager)")

Functions

func FileExists

func FileExists(path string) (bool, error)

func ReadFile

func ReadFile(path string) ([]byte, error)

func WriteFile

func WriteFile(path string, data []byte, perm os.FileMode) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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