xattr

package
v0.0.0-...-c9fddc1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotSet = errors.New("xattr not set")

Functions

func Get

func Get(path, name string) ([]byte, error)

func GetF

func GetF(f *os.File, name string) ([]byte, error)

func GetString

func GetString(path, name string) (string, error)

func GetStringF

func GetStringF(f *os.File, name string) (string, error)

func GetTime

func GetTime(path, name string) (time.Time, error)

func GetTimeF

func GetTimeF(f *os.File, name string) (time.Time, error)

func GetUint

func GetUint(path, name string) (uint64, error)

func GetUintF

func GetUintF(f *os.File, name string) (uint64, error)

func Set

func Set(path, name string, data []byte) error

func SetF

func SetF(f *os.File, name string, data []byte) error

func SetString

func SetString(path, name string, data string) error

func SetStringF

func SetStringF(f *os.File, name string, data string) error

func SetTime

func SetTime(path, name string, t time.Time) error

func SetTimeF

func SetTimeF(f *os.File, name string, t time.Time) error

func SetUint

func SetUint(path, name string, v uint64) error

func SetUintF

func SetUintF(f *os.File, name string, v uint64) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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