package xattr

import "github.com/vbatts/tar-split/xattr"

Index

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`

Source Files

xattr.go

Version
v0.2.0
Published
Aug 16, 2016
Platform
linux/amd64
Imports
2 packages
Last checked
23 hours ago

Tools for package owners.