xattr

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: BSD-3-Clause Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

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

Get returns the extended attributes (xattr) on file `path`, for the given `name`.

func List

func List(path string) ([]string, error)

List returns a list of all the extended attributes (xattr) for file `path`

func Set

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

Set sets the extended attributes (xattr) on file `path`, for the given `name` and `value`

Types

This section is empty.

Jump to

Keyboard shortcuts

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